@mcesystems/apple-kit 1.0.97 → 1.0.98
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 +50 -0
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +50 -0
- package/dist/index.mjs.map +2 -2
- 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 +33 -0
- 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 +98 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/logic/actions/activation.d.ts +12 -0
- package/dist/types/logic/actions/activation.d.ts.map +1 -0
- package/dist/types/logic/actions/device.d.ts +15 -0
- package/dist/types/logic/actions/device.d.ts.map +1 -0
- package/dist/types/logic/actions/install.d.ts +10 -0
- package/dist/types/logic/actions/install.d.ts.map +1 -0
- package/dist/types/logic/actions/pair.d.ts +6 -0
- package/dist/types/logic/actions/pair.d.ts.map +1 -0
- package/dist/types/logic/actions/proxy.d.ts +23 -0
- package/dist/types/logic/actions/proxy.d.ts.map +1 -0
- package/dist/types/logic/actions/restore.d.ts +36 -0
- package/dist/types/logic/actions/restore.d.ts.map +1 -0
- package/dist/types/logic/actions/tool.d.ts +8 -0
- package/dist/types/logic/actions/tool.d.ts.map +1 -0
- package/dist/types/logic/activationFlow.d.ts +15 -0
- package/dist/types/logic/activationFlow.d.ts.map +1 -0
- package/dist/types/logic/appleDeviceKit.d.ts +164 -0
- package/dist/types/logic/appleDeviceKit.d.ts.map +1 -0
- package/dist/types/logic/dataParser.d.ts +23 -0
- package/dist/types/logic/dataParser.d.ts.map +1 -0
- package/dist/types/logic/iosCli.d.ts +6 -0
- package/dist/types/logic/iosCli.d.ts.map +1 -0
- package/dist/types/logic/utils/resolvePath.d.ts +13 -0
- package/dist/types/logic/utils/resolvePath.d.ts.map +1 -0
- package/dist/types/types/activation.d.ts +28 -0
- package/dist/types/types/activation.d.ts.map +1 -0
- package/dist/types/types/ios.d.ts +152 -0
- package/dist/types/types/ios.d.ts.map +1 -0
- package/dist/types/types/trust.d.ts +10 -0
- package/dist/types/types/trust.d.ts.map +1 -0
- package/dist/types/types/types.d.ts +47 -0
- package/dist/types/types/types.d.ts.map +1 -0
- package/dist/types/types/wifi.d.ts +19 -0
- package/dist/types/types/wifi.d.ts.map +1 -0
- package/dist/types/types.d.ts +140 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/types/utils/debug.d.ts +17 -0
- package/dist/types/utils/debug.d.ts.map +1 -0
- package/dist/types/utils/templateLoader.d.ts +8 -0
- package/dist/types/utils/templateLoader.d.ts.map +1 -0
- package/dist/types/utils/wifiProfile.d.ts +14 -0
- package/dist/types/utils/wifiProfile.d.ts.map +1 -0
- package/package.json +3 -3
- package/scripts/README.md +209 -209
- package/scripts/build-windows.sh.template +222 -222
- package/scripts/prepare-ios.ts +9 -1
- package/resources/ios.exe +0 -0
- package/resources/wintun-LICENSE.txt +0 -84
- package/resources/wintun.dll +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1577,6 +1577,38 @@ var DeviceActions = class {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
return result.output[0];
|
|
1579
1579
|
}
|
|
1580
|
+
async batteryInfo() {
|
|
1581
|
+
logInfo(`Getting device info for ${this.udid}`);
|
|
1582
|
+
const result = await this.iosClient.batteryInfo();
|
|
1583
|
+
if (result.exitCode !== 0) {
|
|
1584
|
+
throw new Error("Failed to get battery info");
|
|
1585
|
+
}
|
|
1586
|
+
return result.output[0];
|
|
1587
|
+
}
|
|
1588
|
+
async capacityInfo() {
|
|
1589
|
+
logInfo(`Getting device info for ${this.udid}`);
|
|
1590
|
+
const result = await this.iosClient.capacityInfo();
|
|
1591
|
+
if (result.exitCode !== 0) {
|
|
1592
|
+
throw new Error("Failed to get capacity info");
|
|
1593
|
+
}
|
|
1594
|
+
return result.output[0];
|
|
1595
|
+
}
|
|
1596
|
+
async cloudConfigInfo() {
|
|
1597
|
+
logInfo(`Getting device info for ${this.udid}`);
|
|
1598
|
+
const result = await this.iosClient.cloudConfigInfo();
|
|
1599
|
+
if (result.exitCode !== 0) {
|
|
1600
|
+
throw new Error("Failed to get cloud config info");
|
|
1601
|
+
}
|
|
1602
|
+
return result.output[0];
|
|
1603
|
+
}
|
|
1604
|
+
async regularModelNumber() {
|
|
1605
|
+
logInfo(`Getting device info for ${this.udid}`);
|
|
1606
|
+
const result = await this.iosClient.regularModelNumber();
|
|
1607
|
+
if (result.exitCode !== 0) {
|
|
1608
|
+
throw new Error("Failed to get regular model number");
|
|
1609
|
+
}
|
|
1610
|
+
return result.output[0];
|
|
1611
|
+
}
|
|
1580
1612
|
async listDevices() {
|
|
1581
1613
|
logInfo("Listing devices");
|
|
1582
1614
|
return this.iosClient.listDevices();
|
|
@@ -39143,6 +39175,24 @@ var IosClient = class {
|
|
|
39143
39175
|
async info() {
|
|
39144
39176
|
return this.runIosCommand(["info", "--udid", this.udid]);
|
|
39145
39177
|
}
|
|
39178
|
+
async batteryInfo() {
|
|
39179
|
+
return this.runIosCommand(["batteryregistry", "--udid", this.udid]);
|
|
39180
|
+
}
|
|
39181
|
+
async capacityInfo() {
|
|
39182
|
+
return this.runIosCommand([
|
|
39183
|
+
"lockdown",
|
|
39184
|
+
"get",
|
|
39185
|
+
"--domain=com.apple.disk_usage",
|
|
39186
|
+
"--udid",
|
|
39187
|
+
this.udid
|
|
39188
|
+
]);
|
|
39189
|
+
}
|
|
39190
|
+
async cloudConfigInfo() {
|
|
39191
|
+
return this.runIosCommand(["prepare", "cloudconfig", "--udid", this.udid]);
|
|
39192
|
+
}
|
|
39193
|
+
async regularModelNumber() {
|
|
39194
|
+
return this.runIosCommand(["lockdown", "get", "RegulatoryModelNumber", "--udid", this.udid]);
|
|
39195
|
+
}
|
|
39146
39196
|
async installApp(ipaPath) {
|
|
39147
39197
|
return this.runIosCommand(["install", `--path=${ipaPath}`, "--udid", this.udid]);
|
|
39148
39198
|
}
|