DeployToDeviceParams
Parameters for deployToDevice.
Import:
import type { DeployToDeviceParams } from '@mnaoumov/obsidian-dev-toolkit/device-deployment';Signature:
export interface DeployToDeviceParamsProperties
| Property | Type | Description |
|---|---|---|
| appId? | string | The Android application id of Obsidian. Defaults to OBSIDIAN_MOBILE_APP_ID. |
| deviceId? | string | The device to deploy to, as adb devices lists it. Defaults to the one device attached, and fails when there is none or more than one. |
| deviceVaultPath | string | The vault folder on the device, e.g. /sdcard/Documents/My Vault. Its folder name is the vault name Obsidian opens. |
| distFolder? | string | The folder holding the build to deploy, relative to the project root. Defaults to dist/build. |
| shouldRestart? | boolean | Whether to restart Obsidian on the vault once the build is pushed. Defaults to true. Without the restart the pushed build runs only after Obsidian is restarted by hand, and a new plugin is not enabled. |
Links to this page: