@mcesystems/apple-kit 1.0.47 → 1.0.49
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 +7 -1
- package/dist/index.js +180 -132
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +178 -130
- package/dist/index.mjs.map +4 -4
- package/dist/types/logic/activationFlow.d.ts +1 -0
- package/dist/types/logic/activationFlow.d.ts.map +1 -1
- package/dist/types/types.d.ts +7 -1
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils/mdmClient.d.ts +4 -1
- package/dist/types/utils/mdmClient.d.ts.map +1 -1
- package/dist/types/utils/templateLoader.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/utils/portManager.d.ts +0 -68
- package/dist/types/utils/portManager.d.ts.map +0 -1
- /package/dist/{plist → resources/plist}/certificate-trust.xml +0 -0
- /package/dist/{plist → resources/plist}/wifi-enterprise.xml +0 -0
- /package/dist/{plist → resources/plist}/wifi-standard.xml +0 -0
package/README.md
CHANGED
|
@@ -193,12 +193,18 @@ console.log(`Activated: ${state.isActivated}`);
|
|
|
193
193
|
console.log(`State: ${state.activationState}`);
|
|
194
194
|
|
|
195
195
|
// Activate device (requires valid activation record)
|
|
196
|
-
await device.activate({
|
|
196
|
+
await device.activate({
|
|
197
|
+
resourcesDir: process.env.APPLE_KIT_RESOURCES_DIR,
|
|
198
|
+
});
|
|
197
199
|
|
|
198
200
|
// Deactivate device
|
|
199
201
|
await device.deactivate();
|
|
200
202
|
```
|
|
201
203
|
|
|
204
|
+
When `resourcesDir` is set, the activation flow reads MDM credentials from
|
|
205
|
+
`@clientLocal.json` inside that folder and the iOS CLI binary from
|
|
206
|
+
`resourcesDir/ios/bin/{platform}`.
|
|
207
|
+
|
|
202
208
|
### Running Without iTunes (usbmuxd)
|
|
203
209
|
|
|
204
210
|
On Windows, iTunes provides the Apple Mobile Device Service for USB communication. If you don't have iTunes installed, you can run the bundled `usbmuxd`:
|