Add more ADB Install arguments
upintheairsheep opened this issue · 2 comments
upintheairsheep commented
yume-chan commented
Tango already supports all options for pm install
ya-webadb/libraries/android-bin/src/pm.ts
Lines 31 to 144 in c5786fe
export interface PackageManagerInstallOptions { | |
/** | |
* `-R` | |
*/ | |
skipExisting: boolean; | |
/** | |
* `-i` | |
*/ | |
installerPackageName: string; | |
/** | |
* `-t` | |
*/ | |
allowTest: boolean; | |
/** | |
* `-f` | |
*/ | |
internalStorage: boolean; | |
/** | |
* `-d` | |
*/ | |
requestDowngrade: boolean; | |
/** | |
* `-g` | |
*/ | |
grantRuntimePermissions: boolean; | |
/** | |
* `--restrict-permissions` | |
*/ | |
restrictPermissions: boolean; | |
/** | |
* `--dont-kill` | |
*/ | |
doNotKill: boolean; | |
/** | |
* `--originating-uri` | |
*/ | |
originatingUri: string; | |
/** | |
* `--referrer` | |
*/ | |
refererUri: string; | |
/** | |
* `-p` | |
*/ | |
inheritFrom: string; | |
/** | |
* `--pkg` | |
*/ | |
packageName: string; | |
/** | |
* `--abi` | |
*/ | |
abi: string; | |
/** | |
* `--ephemeral`/`--instant`/`--instantapp` | |
*/ | |
instantApp: boolean; | |
/** | |
* `--full` | |
*/ | |
full: boolean; | |
/** | |
* `--preload` | |
*/ | |
preload: boolean; | |
/** | |
* `--user` | |
*/ | |
userId: number; | |
/** | |
* `--install-location` | |
*/ | |
installLocation: PackageManagerInstallLocation; | |
/** | |
* `--install-reason` | |
*/ | |
installReason: PackageManagerInstallReason; | |
/** | |
* `--force-uuid` | |
*/ | |
forceUuid: string; | |
/** | |
* `--apex` | |
*/ | |
apex: boolean; | |
/** | |
* `--force-non-staged` | |
*/ | |
forceNonStaged: boolean; | |
/** | |
* `--staged` | |
*/ | |
staged: boolean; | |
/** | |
* `--force-queryable` | |
*/ | |
forceQueryable: boolean; | |
/** | |
* `--enable-rollback` | |
*/ | |
enableRollback: boolean; | |
/** | |
* `--staged-ready-timeout` | |
*/ | |
stagedReadyTimeout: number; | |
/** | |
* `--skip-verification` | |
*/ | |
skipVerification: boolean; | |
/** | |
* `--bypass-low-target-sdk-block` | |
*/ | |
bypassLowTargetSdkBlock: boolean; | |
} |
upintheairsheep commented
Tango already supports all options for
pm install
ya-webadb/libraries/android-bin/src/pm.ts
Lines 31 to 144 in c5786fe
export interface PackageManagerInstallOptions { /** * `-R` */ skipExisting: boolean; /** * `-i` */ installerPackageName: string; /** * `-t` */ allowTest: boolean; /** * `-f` */ internalStorage: boolean; /** * `-d` */ requestDowngrade: boolean; /** * `-g` */ grantRuntimePermissions: boolean; /** * `--restrict-permissions` */ restrictPermissions: boolean; /** * `--dont-kill` */ doNotKill: boolean; /** * `--originating-uri` */ originatingUri: string; /** * `--referrer` */ refererUri: string; /** * `-p` */ inheritFrom: string; /** * `--pkg` */ packageName: string; /** * `--abi` */ abi: string; /** * `--ephemeral`/`--instant`/`--instantapp` */ instantApp: boolean; /** * `--full` */ full: boolean; /** * `--preload` */ preload: boolean; /** * `--user` */ userId: number; /** * `--install-location` */ installLocation: PackageManagerInstallLocation; /** * `--install-reason` */ installReason: PackageManagerInstallReason; /** * `--force-uuid` */ forceUuid: string; /** * `--apex` */ apex: boolean; /** * `--force-non-staged` */ forceNonStaged: boolean; /** * `--staged` */ staged: boolean; /** * `--force-queryable` */ forceQueryable: boolean; /** * `--enable-rollback` */ enableRollback: boolean; /** * `--staged-ready-timeout` */ stagedReadyTimeout: number; /** * `--skip-verification` */ skipVerification: boolean; /** * `--bypass-low-target-sdk-block` */ bypassLowTargetSdkBlock: boolean; }
In the Web Interface