@mcesystems/apple-kit 1.0.95 → 1.0.96
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/README.md +258 -258
- package/dist/index.js +9 -5
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +3 -3
- package/dist/resources/plist/certificate-trust.xml +43 -43
- package/dist/resources/plist/wifi-enterprise.xml +59 -59
- package/dist/resources/plist/wifi-standard.xml +50 -50
- package/dist/types/index.d.ts +2 -1
- package/package.json +3 -3
- package/resources/ios.exe +0 -0
- package/resources/wintun-LICENSE.txt +84 -0
- package/resources/wintun.dll +0 -0
- package/scripts/README.md +209 -209
- package/scripts/build-windows.sh.template +222 -222
- package/dist/resources/bin/darwin/idevice_id +0 -0
- package/dist/resources/bin/darwin/idevicedebug +0 -0
- package/dist/resources/bin/darwin/idevicediagnostics +0 -0
- package/dist/resources/bin/darwin/ideviceinfo +0 -0
- package/dist/resources/bin/darwin/ideviceinstaller +0 -0
- package/dist/resources/bin/darwin/idevicename +0 -0
- package/dist/resources/bin/darwin/idevicepair +0 -0
- package/dist/resources/bin/darwin/idevicescreenshot +0 -0
- package/dist/resources/bin/darwin/idevicesyslog +0 -0
- package/dist/resources/bin/darwin/iproxy +0 -0
- package/dist/resources/bin/darwin/libcrypto.3.dylib +0 -0
- package/dist/resources/bin/darwin/libimobiledevice-1.0.6.dylib +0 -0
- package/dist/resources/bin/darwin/libimobiledevice-glue-1.0.0.dylib +0 -0
- package/dist/resources/bin/darwin/liblzma.5.dylib +0 -0
- package/dist/resources/bin/darwin/libplist-2.0.4.dylib +0 -0
- package/dist/resources/bin/darwin/libssl.3.dylib +0 -0
- package/dist/resources/bin/darwin/libusbmuxd-2.0.7.dylib +0 -0
- package/dist/resources/bin/darwin/libzip.5.dylib +0 -0
- package/dist/resources/bin/darwin/libzstd.1.dylib +0 -0
- package/dist/resources/licenses/LGPL-2.1.txt +0 -33
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/logic/actions/activation.d.ts +0 -12
- package/dist/types/logic/actions/activation.d.ts.map +0 -1
- package/dist/types/logic/actions/device.d.ts +0 -15
- package/dist/types/logic/actions/device.d.ts.map +0 -1
- package/dist/types/logic/actions/install.d.ts +0 -10
- package/dist/types/logic/actions/install.d.ts.map +0 -1
- package/dist/types/logic/actions/pair.d.ts +0 -6
- package/dist/types/logic/actions/pair.d.ts.map +0 -1
- package/dist/types/logic/actions/proxy.d.ts +0 -23
- package/dist/types/logic/actions/proxy.d.ts.map +0 -1
- package/dist/types/logic/actions/restore.d.ts +0 -36
- package/dist/types/logic/actions/restore.d.ts.map +0 -1
- package/dist/types/logic/actions/tool.d.ts +0 -8
- package/dist/types/logic/actions/tool.d.ts.map +0 -1
- package/dist/types/logic/activationFlow.d.ts +0 -15
- package/dist/types/logic/activationFlow.d.ts.map +0 -1
- package/dist/types/logic/appleDeviceKit.d.ts +0 -164
- package/dist/types/logic/appleDeviceKit.d.ts.map +0 -1
- package/dist/types/logic/dataParser.d.ts +0 -23
- package/dist/types/logic/dataParser.d.ts.map +0 -1
- package/dist/types/logic/iosCli.d.ts +0 -6
- package/dist/types/logic/iosCli.d.ts.map +0 -1
- package/dist/types/logic/utils/resolvePath.d.ts +0 -13
- package/dist/types/logic/utils/resolvePath.d.ts.map +0 -1
- package/dist/types/types/activation.d.ts +0 -28
- package/dist/types/types/activation.d.ts.map +0 -1
- package/dist/types/types/ios.d.ts +0 -152
- package/dist/types/types/ios.d.ts.map +0 -1
- package/dist/types/types/trust.d.ts +0 -10
- package/dist/types/types/trust.d.ts.map +0 -1
- package/dist/types/types/types.d.ts +0 -47
- package/dist/types/types/types.d.ts.map +0 -1
- package/dist/types/types/wifi.d.ts +0 -19
- package/dist/types/types/wifi.d.ts.map +0 -1
- package/dist/types/types.d.ts +0 -140
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/utils/debug.d.ts +0 -17
- package/dist/types/utils/debug.d.ts.map +0 -1
- package/dist/types/utils/templateLoader.d.ts +0 -8
- package/dist/types/utils/templateLoader.d.ts.map +0 -1
- package/dist/types/utils/wifiProfile.d.ts +0 -14
- package/dist/types/utils/wifiProfile.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -376,8 +376,7 @@ var require_retry_promise = __commonJS({
|
|
|
376
376
|
|
|
377
377
|
// src/logic/appleDeviceKit.ts
|
|
378
378
|
import { readFileSync, unlinkSync } from "node:fs";
|
|
379
|
-
import { mkdir, stat } from "node:fs/promises";
|
|
380
|
-
import { writeFile as writeFile2 } from "node:fs/promises";
|
|
379
|
+
import { mkdir, stat, writeFile as writeFile2 } from "node:fs/promises";
|
|
381
380
|
import { join as join5 } from "node:path";
|
|
382
381
|
|
|
383
382
|
// ../tool-debug/dist/index.mjs
|
|
@@ -1686,6 +1685,9 @@ ${out.stderr}`;
|
|
|
1686
1685
|
rmSync(lockdownFile, { force: true });
|
|
1687
1686
|
return true;
|
|
1688
1687
|
}
|
|
1688
|
+
getLockdownPath() {
|
|
1689
|
+
return getLockdownPath();
|
|
1690
|
+
}
|
|
1689
1691
|
};
|
|
1690
1692
|
|
|
1691
1693
|
// ../mdm-client/dist/index.mjs
|
|
@@ -39172,8 +39174,8 @@ var IosClient = class {
|
|
|
39172
39174
|
async devMode() {
|
|
39173
39175
|
return this.runIosCommand(["devmode", "enable", "--udid", this.udid]);
|
|
39174
39176
|
}
|
|
39175
|
-
async tunnelStart(userspace = false) {
|
|
39176
|
-
const args = ["tunnel", "start", "--udid", this.udid, ...userspace ? ["--userspace"] : []];
|
|
39177
|
+
async tunnelStart(userspace = false, pairRecordPath) {
|
|
39178
|
+
const args = ["tunnel", "start", `--pair-record-path=${pairRecordPath ?? "default"}`, "--udid", this.udid, ...userspace ? ["--userspace"] : []];
|
|
39177
39179
|
logDetail(`Spawning tunnel: ${this.iosPath} ${args.join(" ")}`);
|
|
39178
39180
|
const child = spawn(this.iosPath, args, {
|
|
39179
39181
|
windowsHide: true,
|
|
@@ -39380,7 +39382,9 @@ var AppleDeviceKit = class _AppleDeviceKit {
|
|
|
39380
39382
|
}
|
|
39381
39383
|
logInfo7(`Starting tunnel for device ${this.deviceId} (iOS 17+)`);
|
|
39382
39384
|
try {
|
|
39383
|
-
const
|
|
39385
|
+
const pairRecordPath = join5(this.deviceActions.getLockdownPath() ?? "", "RemotePairing", `${this.deviceId}`);
|
|
39386
|
+
await mkdir(pairRecordPath, { recursive: true });
|
|
39387
|
+
const tunnelProcess = await this.iosClient.tunnelStart(true, pairRecordPath);
|
|
39384
39388
|
this.tunnelProcess = tunnelProcess;
|
|
39385
39389
|
tunnelProcess.on("exit", (code) => {
|
|
39386
39390
|
logError3(`Tunnel process for device ${this.deviceId} exited with code ${code}`);
|