@mcesystems/apple-kit 1.0.49 → 1.0.51
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 +8 -2
- package/dist/index.js +294 -123
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +297 -130
- package/dist/index.mjs.map +4 -4
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/logic/actions/usbmuxd.d.ts +10 -0
- package/dist/types/logic/actions/usbmuxd.d.ts.map +1 -0
- package/dist/types/logic/activationFlow.d.ts +1 -0
- package/dist/types/logic/activationFlow.d.ts.map +1 -1
- package/dist/types/logic/utils/resolvePath.d.ts +3 -1
- package/dist/types/logic/utils/resolvePath.d.ts.map +1 -1
- package/dist/types/utils/templateLoader.d.ts +1 -1
- package/dist/types/utils/templateLoader.d.ts.map +1 -1
- package/dist/types/utils/trustProfile.d.ts +6 -2
- package/dist/types/utils/trustProfile.d.ts.map +1 -1
- package/dist/types/utils/wifiProfile.d.ts +6 -2
- package/dist/types/utils/wifiProfile.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -202,8 +202,11 @@ await device.deactivate();
|
|
|
202
202
|
```
|
|
203
203
|
|
|
204
204
|
When `resourcesDir` is set, the activation flow reads MDM credentials from
|
|
205
|
-
`@clientLocal.json` inside that folder
|
|
206
|
-
`resourcesDir/ios/bin/{platform}`.
|
|
205
|
+
`@clientLocal.json` inside that folder, plist templates from `resourcesDir/plist`,
|
|
206
|
+
and the iOS CLI binary from `resourcesDir/ios/bin/{platform}`.
|
|
207
|
+
If `resourcesDir/mdm/enrollment_{udid}.mobileconfig` or
|
|
208
|
+
`resourcesDir/mdm/enrollment.mobileconfig` exists, it is installed instead of
|
|
209
|
+
calling the MDM API (offline enrollment).
|
|
207
210
|
|
|
208
211
|
### Running Without iTunes (usbmuxd)
|
|
209
212
|
|
|
@@ -277,6 +280,9 @@ daemon.stop();
|
|
|
277
280
|
- `isUsbmuxdRunning()`: Check if daemon is running
|
|
278
281
|
- `ensureUsbmuxd()`: Start if not already running
|
|
279
282
|
|
|
283
|
+
To use a custom resources folder, pass it as the second parameter:
|
|
284
|
+
`startUsbmuxd(false, { resourcesDir: "..." })`.
|
|
285
|
+
|
|
280
286
|
### Types
|
|
281
287
|
|
|
282
288
|
```typescript
|