@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.js
CHANGED
|
@@ -33958,11 +33958,10 @@ async function installLocalApp(ipaPath, udid) {
|
|
|
33958
33958
|
logTask(`Installing app ${ipaPath} on device ${udid}`);
|
|
33959
33959
|
await runIDeviceTool("ideviceinstaller", ["-u", udid, "install", ipaPath]);
|
|
33960
33960
|
}
|
|
33961
|
-
async function installManagedApp(ipaPath, udid,
|
|
33961
|
+
async function installManagedApp(ipaPath, udid, options) {
|
|
33962
33962
|
await installLocalApp(ipaPath, udid);
|
|
33963
33963
|
const client = await createMDMClient();
|
|
33964
33964
|
logTask("Installing app via MDM for management takeover");
|
|
33965
|
-
await new Promise((resolve2) => setTimeout(resolve2, timeBetweenInstalls));
|
|
33966
33965
|
if (client) {
|
|
33967
33966
|
client.installApp(udid, options);
|
|
33968
33967
|
}
|
|
@@ -34316,9 +34315,9 @@ var AppleDeviceKit = class {
|
|
|
34316
34315
|
*
|
|
34317
34316
|
* @param ipaPath Path to the IPA file
|
|
34318
34317
|
*/
|
|
34319
|
-
async installApp(ipaPath, options
|
|
34318
|
+
async installApp(ipaPath, options) {
|
|
34320
34319
|
this.ensureNotDisposed();
|
|
34321
|
-
return installManagedApp(ipaPath, this.deviceId,
|
|
34320
|
+
return installManagedApp(ipaPath, this.deviceId, options);
|
|
34322
34321
|
}
|
|
34323
34322
|
/**
|
|
34324
34323
|
* Uninstall an app by bundle ID (uninstall agent)
|