@mcesystems/apple-kit 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -4
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +2 -2
- package/dist/types/logic/actions/install.d.ts +1 -1
- package/dist/types/logic/actions/install.d.ts.map +1 -1
- package/dist/types/logic/appleDeviceKit.d.ts +1 -1
- package/dist/types/logic/appleDeviceKit.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -33948,11 +33948,10 @@ async function installLocalApp(ipaPath, udid) {
|
|
|
33948
33948
|
logTask(`Installing app ${ipaPath} on device ${udid}`);
|
|
33949
33949
|
await runIDeviceTool("ideviceinstaller", ["-u", udid, "install", ipaPath]);
|
|
33950
33950
|
}
|
|
33951
|
-
async function installManagedApp(ipaPath, udid,
|
|
33951
|
+
async function installManagedApp(ipaPath, udid, options) {
|
|
33952
33952
|
await installLocalApp(ipaPath, udid);
|
|
33953
33953
|
const client = await createMDMClient();
|
|
33954
33954
|
logTask("Installing app via MDM for management takeover");
|
|
33955
|
-
await new Promise((resolve2) => setTimeout(resolve2, timeBetweenInstalls));
|
|
33956
33955
|
if (client) {
|
|
33957
33956
|
client.installApp(udid, options);
|
|
33958
33957
|
}
|
|
@@ -34306,9 +34305,9 @@ var AppleDeviceKit = class {
|
|
|
34306
34305
|
*
|
|
34307
34306
|
* @param ipaPath Path to the IPA file
|
|
34308
34307
|
*/
|
|
34309
|
-
async installApp(ipaPath, options
|
|
34308
|
+
async installApp(ipaPath, options) {
|
|
34310
34309
|
this.ensureNotDisposed();
|
|
34311
|
-
return installManagedApp(ipaPath, this.deviceId,
|
|
34310
|
+
return installManagedApp(ipaPath, this.deviceId, options);
|
|
34312
34311
|
}
|
|
34313
34312
|
/**
|
|
34314
34313
|
* Uninstall an app by bundle ID (uninstall agent)
|