@mcesystems/apple-kit 1.0.94 → 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.
Files changed (78) hide show
  1. package/README.md +258 -258
  2. package/dist/index.js +62 -55
  3. package/dist/index.js.map +3 -3
  4. package/dist/index.mjs +62 -55
  5. package/dist/index.mjs.map +3 -3
  6. package/dist/resources/plist/certificate-trust.xml +43 -43
  7. package/dist/resources/plist/wifi-enterprise.xml +59 -59
  8. package/dist/resources/plist/wifi-standard.xml +50 -50
  9. package/dist/types/index.d.ts +15 -2
  10. package/package.json +3 -3
  11. package/resources/ios.exe +0 -0
  12. package/resources/wintun-LICENSE.txt +84 -0
  13. package/resources/wintun.dll +0 -0
  14. package/scripts/README.md +209 -209
  15. package/scripts/build-windows.sh.template +222 -222
  16. package/dist/resources/bin/darwin/idevice_id +0 -0
  17. package/dist/resources/bin/darwin/idevicedebug +0 -0
  18. package/dist/resources/bin/darwin/idevicediagnostics +0 -0
  19. package/dist/resources/bin/darwin/ideviceinfo +0 -0
  20. package/dist/resources/bin/darwin/ideviceinstaller +0 -0
  21. package/dist/resources/bin/darwin/idevicename +0 -0
  22. package/dist/resources/bin/darwin/idevicepair +0 -0
  23. package/dist/resources/bin/darwin/idevicescreenshot +0 -0
  24. package/dist/resources/bin/darwin/idevicesyslog +0 -0
  25. package/dist/resources/bin/darwin/iproxy +0 -0
  26. package/dist/resources/bin/darwin/libcrypto.3.dylib +0 -0
  27. package/dist/resources/bin/darwin/libimobiledevice-1.0.6.dylib +0 -0
  28. package/dist/resources/bin/darwin/libimobiledevice-glue-1.0.0.dylib +0 -0
  29. package/dist/resources/bin/darwin/liblzma.5.dylib +0 -0
  30. package/dist/resources/bin/darwin/libplist-2.0.4.dylib +0 -0
  31. package/dist/resources/bin/darwin/libssl.3.dylib +0 -0
  32. package/dist/resources/bin/darwin/libusbmuxd-2.0.7.dylib +0 -0
  33. package/dist/resources/bin/darwin/libzip.5.dylib +0 -0
  34. package/dist/resources/bin/darwin/libzstd.1.dylib +0 -0
  35. package/dist/resources/licenses/LGPL-2.1.txt +0 -33
  36. package/dist/types/index.d.ts.map +0 -1
  37. package/dist/types/logic/actions/activation.d.ts +0 -12
  38. package/dist/types/logic/actions/activation.d.ts.map +0 -1
  39. package/dist/types/logic/actions/device.d.ts +0 -15
  40. package/dist/types/logic/actions/device.d.ts.map +0 -1
  41. package/dist/types/logic/actions/install.d.ts +0 -10
  42. package/dist/types/logic/actions/install.d.ts.map +0 -1
  43. package/dist/types/logic/actions/pair.d.ts +0 -6
  44. package/dist/types/logic/actions/pair.d.ts.map +0 -1
  45. package/dist/types/logic/actions/proxy.d.ts +0 -23
  46. package/dist/types/logic/actions/proxy.d.ts.map +0 -1
  47. package/dist/types/logic/actions/restore.d.ts +0 -36
  48. package/dist/types/logic/actions/restore.d.ts.map +0 -1
  49. package/dist/types/logic/actions/tool.d.ts +0 -8
  50. package/dist/types/logic/actions/tool.d.ts.map +0 -1
  51. package/dist/types/logic/activationFlow.d.ts +0 -15
  52. package/dist/types/logic/activationFlow.d.ts.map +0 -1
  53. package/dist/types/logic/appleDeviceKit.d.ts +0 -164
  54. package/dist/types/logic/appleDeviceKit.d.ts.map +0 -1
  55. package/dist/types/logic/dataParser.d.ts +0 -23
  56. package/dist/types/logic/dataParser.d.ts.map +0 -1
  57. package/dist/types/logic/iosCli.d.ts +0 -6
  58. package/dist/types/logic/iosCli.d.ts.map +0 -1
  59. package/dist/types/logic/utils/resolvePath.d.ts +0 -13
  60. package/dist/types/logic/utils/resolvePath.d.ts.map +0 -1
  61. package/dist/types/types/activation.d.ts +0 -28
  62. package/dist/types/types/activation.d.ts.map +0 -1
  63. package/dist/types/types/ios.d.ts +0 -152
  64. package/dist/types/types/ios.d.ts.map +0 -1
  65. package/dist/types/types/trust.d.ts +0 -10
  66. package/dist/types/types/trust.d.ts.map +0 -1
  67. package/dist/types/types/types.d.ts +0 -47
  68. package/dist/types/types/types.d.ts.map +0 -1
  69. package/dist/types/types/wifi.d.ts +0 -19
  70. package/dist/types/types/wifi.d.ts.map +0 -1
  71. package/dist/types/types.d.ts +0 -140
  72. package/dist/types/types.d.ts.map +0 -1
  73. package/dist/types/utils/debug.d.ts +0 -17
  74. package/dist/types/utils/debug.d.ts.map +0 -1
  75. package/dist/types/utils/templateLoader.d.ts +0 -8
  76. package/dist/types/utils/templateLoader.d.ts.map +0 -1
  77. package/dist/types/utils/wifiProfile.d.ts +0 -14
  78. package/dist/types/utils/wifiProfile.d.ts.map +0 -1
@@ -1,222 +1,222 @@
1
- #!/bin/bash
2
- # =============================================================================
3
- # libimobiledevice Windows Build Script
4
- # =============================================================================
5
- #
6
- # This script builds libimobiledevice and related tools from source using
7
- # MSYS2/MinGW environment.
8
- #
9
- # Prerequisites:
10
- # 1. MSYS2 installed (https://www.msys2.org/)
11
- # 2. Run this script from MSYS2 MinGW 64-bit shell
12
- # 3. Required packages installed (see below)
13
- #
14
- # To install required packages, run in MSYS2 MinGW 64-bit shell:
15
- # pacman -S base-devel git mingw-w64-x86_64-gcc make libtool autoconf automake-wrapper
16
- #
17
- # Usage:
18
- # bash build-windows.sh
19
- #
20
- # =============================================================================
21
-
22
- set -e
23
-
24
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
25
- TARGET_DIR="{{TARGET_DIR}}"
26
- BUILD_DIR="$SCRIPT_DIR/limd-build"
27
-
28
- echo "=== libimobiledevice Windows Build ==="
29
- echo ""
30
- echo "Target directory: $TARGET_DIR"
31
- echo "Build directory: $BUILD_DIR"
32
- echo ""
33
-
34
- # Check if running in MinGW environment
35
- if [[ -z "$MSYSTEM" ]] || [[ "$MSYSTEM" != "MINGW64" ]]; then
36
- echo "Error: This script must be run from MSYS2 MinGW 64-bit shell"
37
- echo "Open 'MSYS2 MinGW 64-bit' from Start menu and run this script again."
38
- exit 1
39
- fi
40
-
41
- # Check for required tools
42
- echo "Checking prerequisites..."
43
- for cmd in gcc make git autoconf automake libtool; do
44
- if ! command -v $cmd &> /dev/null; then
45
- echo "Error: $cmd not found. Please install required packages:"
46
- echo " pacman -S base-devel git mingw-w64-x86_64-gcc make libtool autoconf automake-wrapper"
47
- exit 1
48
- fi
49
- done
50
- echo "✓ All prerequisites found"
51
- echo ""
52
-
53
- # Create build directory
54
- mkdir -p "$BUILD_DIR"
55
- cd "$BUILD_DIR"
56
-
57
- # Download and run the official build script
58
- echo "Downloading libimobiledevice build script..."
59
- curl -Ls -o limd-build-msys2.sh https://is.gd/limdmsys2
60
-
61
- echo ""
62
- echo "Running libimobiledevice build script..."
63
- echo "(This may take 10-30 minutes depending on your system)"
64
- echo ""
65
-
66
- bash ./limd-build-msys2.sh
67
-
68
- # After build, copy the binaries to target directory
69
- echo ""
70
- echo "Copying binaries to target directory..."
71
-
72
- mkdir -p "$TARGET_DIR"
73
-
74
- # The build script installs to /mingw64 by default
75
- MINGW_BIN="/mingw64/bin"
76
-
77
- TOOLS=(
78
- "idevice_id.exe"
79
- "ideviceinfo.exe"
80
- "idevicepair.exe"
81
- "idevicename.exe"
82
- "idevicedebug.exe"
83
- "ideviceinstaller.exe"
84
- "iproxy.exe"
85
- "ideviceactivation.exe"
86
- "idevicesyslog.exe"
87
- "idevicescreenshot.exe"
88
- "idevicediagnostics.exe"
89
- "idevicerestore.exe"
90
- )
91
-
92
- for tool in "${TOOLS[@]}"; do
93
- if [[ -f "$MINGW_BIN/$tool" ]]; then
94
- cp "$MINGW_BIN/$tool" "$TARGET_DIR/"
95
- echo "✓ Copied $tool"
96
- else
97
- echo "- Skipping $tool (not found)"
98
- fi
99
- done
100
-
101
- # Copy required DLLs by discovering dependencies
102
- echo ""
103
- echo "Discovering and copying required DLLs..."
104
-
105
- # Function to recursively find all DLL dependencies
106
- find_dll_deps() {
107
- local file="$1"
108
- ldd "$file" 2>/dev/null | grep '/mingw64' | awk '{print $3}' | sort -u
109
- }
110
-
111
- # Collect all unique DLLs needed by all tools
112
- ALL_DLLS=""
113
- for tool in "${TOOLS[@]}"; do
114
- if [[ -f "$TARGET_DIR/$tool" ]]; then
115
- TOOL_DLLS=$(find_dll_deps "$TARGET_DIR/$tool")
116
- ALL_DLLS="$ALL_DLLS $TOOL_DLLS"
117
- fi
118
- done
119
-
120
- # Also check dependencies of the DLLs themselves (transitive deps)
121
- # Do multiple passes to ensure we get all nested dependencies
122
- for pass in {1..3}; do
123
- for dll_path in $ALL_DLLS; do
124
- if [[ -f "$dll_path" ]]; then
125
- NESTED_DLLS=$(find_dll_deps "$dll_path")
126
- ALL_DLLS="$ALL_DLLS $NESTED_DLLS"
127
- fi
128
- done
129
- done
130
-
131
- # Get unique list
132
- UNIQUE_DLLS=$(echo "$ALL_DLLS" | tr ' ' '\n' | sort -u | grep -v '^$')
133
-
134
- # Copy each DLL
135
- for dll_path in $UNIQUE_DLLS; do
136
- if [[ -f "$dll_path" ]]; then
137
- dll_name=$(basename "$dll_path")
138
- cp "$dll_path" "$TARGET_DIR/"
139
- echo "✓ Copied $dll_name"
140
- fi
141
- done
142
-
143
- # Specifically check for idevicerestore dependencies (libirecovery, libidevicerestore)
144
- if [[ -f "$TARGET_DIR/idevicerestore.exe" ]]; then
145
- echo ""
146
- echo "Checking idevicerestore-specific dependencies..."
147
-
148
- # Look for libirecovery and libidevicerestore DLLs
149
- IRECOVERY_DLLS=$(find "$MINGW_BIN" -name "libirecovery*.dll" 2>/dev/null || true)
150
- IDEVICERESTORE_DLLS=$(find "$MINGW_BIN" -name "libidevicerestore*.dll" 2>/dev/null || true)
151
-
152
- for dll in $IRECOVERY_DLLS $IDEVICERESTORE_DLLS; do
153
- if [[ -f "$dll" ]]; then
154
- dll_name=$(basename "$dll")
155
- if [[ ! -f "$TARGET_DIR/$dll_name" ]]; then
156
- cp "$dll" "$TARGET_DIR/"
157
- echo "✓ Copied $dll_name (idevicerestore dependency)"
158
- fi
159
- fi
160
- done
161
- fi
162
-
163
- # Explicitly copy all libimobiledevice core libraries
164
- echo ""
165
- echo "Copying libimobiledevice core libraries..."
166
- CORE_LIBS=(
167
- "libimobiledevice-1.0.dll"
168
- "libimobiledevice-glue-1.0.dll"
169
- "libusbmuxd-2.0.dll"
170
- "libplist-2.0.dll"
171
- "libirecovery-1.0.dll"
172
- "libidevicerestore-1.0.dll"
173
- "libideviceactivation-1.0.dll"
174
- )
175
-
176
- for lib in "${CORE_LIBS[@]}"; do
177
- if [[ -f "$MINGW_BIN/$lib" ]] && [[ ! -f "$TARGET_DIR/$lib" ]]; then
178
- cp "$MINGW_BIN/$lib" "$TARGET_DIR/"
179
- echo "✓ Copied $lib (core library)"
180
- fi
181
- done
182
-
183
- # Also copy these common runtime DLLs that might not show up in ldd
184
- RUNTIME_DLLS=(
185
- "libgcc_s_seh-1.dll"
186
- "libwinpthread-1.dll"
187
- "libstdc++-6.dll"
188
- "libssl-3-x64.dll"
189
- "libcrypto-3-x64.dll"
190
- "liblzma-5.dll"
191
- "libzstd.dll"
192
- "zlib1.dll"
193
- )
194
-
195
- echo ""
196
- echo "Copying runtime DLLs..."
197
- for dll in "${RUNTIME_DLLS[@]}"; do
198
- if [[ -f "$MINGW_BIN/$dll" ]] && [[ ! -f "$TARGET_DIR/$dll" ]]; then
199
- cp "$MINGW_BIN/$dll" "$TARGET_DIR/"
200
- echo "✓ Copied $dll"
201
- fi
202
- done
203
-
204
- # List all DLLs that were copied for verification
205
- echo ""
206
- echo "=== Summary of copied libraries ==="
207
- echo "Core libimobiledevice libraries:"
208
- for lib in "${CORE_LIBS[@]}"; do
209
- if [[ -f "$TARGET_DIR/$lib" ]]; then
210
- echo " ✓ $lib"
211
- else
212
- echo " ✗ $lib (missing)"
213
- fi
214
- done
215
-
216
- echo ""
217
- echo "=== Build Complete ==="
218
- echo "Windows binaries exported to: $TARGET_DIR"
219
- echo ""
220
- echo "Note: On Windows, iTunes or Apple Mobile Device Support must be installed"
221
- echo "for USB communication to work."
222
-
1
+ #!/bin/bash
2
+ # =============================================================================
3
+ # libimobiledevice Windows Build Script
4
+ # =============================================================================
5
+ #
6
+ # This script builds libimobiledevice and related tools from source using
7
+ # MSYS2/MinGW environment.
8
+ #
9
+ # Prerequisites:
10
+ # 1. MSYS2 installed (https://www.msys2.org/)
11
+ # 2. Run this script from MSYS2 MinGW 64-bit shell
12
+ # 3. Required packages installed (see below)
13
+ #
14
+ # To install required packages, run in MSYS2 MinGW 64-bit shell:
15
+ # pacman -S base-devel git mingw-w64-x86_64-gcc make libtool autoconf automake-wrapper
16
+ #
17
+ # Usage:
18
+ # bash build-windows.sh
19
+ #
20
+ # =============================================================================
21
+
22
+ set -e
23
+
24
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
25
+ TARGET_DIR="{{TARGET_DIR}}"
26
+ BUILD_DIR="$SCRIPT_DIR/limd-build"
27
+
28
+ echo "=== libimobiledevice Windows Build ==="
29
+ echo ""
30
+ echo "Target directory: $TARGET_DIR"
31
+ echo "Build directory: $BUILD_DIR"
32
+ echo ""
33
+
34
+ # Check if running in MinGW environment
35
+ if [[ -z "$MSYSTEM" ]] || [[ "$MSYSTEM" != "MINGW64" ]]; then
36
+ echo "Error: This script must be run from MSYS2 MinGW 64-bit shell"
37
+ echo "Open 'MSYS2 MinGW 64-bit' from Start menu and run this script again."
38
+ exit 1
39
+ fi
40
+
41
+ # Check for required tools
42
+ echo "Checking prerequisites..."
43
+ for cmd in gcc make git autoconf automake libtool; do
44
+ if ! command -v $cmd &> /dev/null; then
45
+ echo "Error: $cmd not found. Please install required packages:"
46
+ echo " pacman -S base-devel git mingw-w64-x86_64-gcc make libtool autoconf automake-wrapper"
47
+ exit 1
48
+ fi
49
+ done
50
+ echo "✓ All prerequisites found"
51
+ echo ""
52
+
53
+ # Create build directory
54
+ mkdir -p "$BUILD_DIR"
55
+ cd "$BUILD_DIR"
56
+
57
+ # Download and run the official build script
58
+ echo "Downloading libimobiledevice build script..."
59
+ curl -Ls -o limd-build-msys2.sh https://is.gd/limdmsys2
60
+
61
+ echo ""
62
+ echo "Running libimobiledevice build script..."
63
+ echo "(This may take 10-30 minutes depending on your system)"
64
+ echo ""
65
+
66
+ bash ./limd-build-msys2.sh
67
+
68
+ # After build, copy the binaries to target directory
69
+ echo ""
70
+ echo "Copying binaries to target directory..."
71
+
72
+ mkdir -p "$TARGET_DIR"
73
+
74
+ # The build script installs to /mingw64 by default
75
+ MINGW_BIN="/mingw64/bin"
76
+
77
+ TOOLS=(
78
+ "idevice_id.exe"
79
+ "ideviceinfo.exe"
80
+ "idevicepair.exe"
81
+ "idevicename.exe"
82
+ "idevicedebug.exe"
83
+ "ideviceinstaller.exe"
84
+ "iproxy.exe"
85
+ "ideviceactivation.exe"
86
+ "idevicesyslog.exe"
87
+ "idevicescreenshot.exe"
88
+ "idevicediagnostics.exe"
89
+ "idevicerestore.exe"
90
+ )
91
+
92
+ for tool in "${TOOLS[@]}"; do
93
+ if [[ -f "$MINGW_BIN/$tool" ]]; then
94
+ cp "$MINGW_BIN/$tool" "$TARGET_DIR/"
95
+ echo "✓ Copied $tool"
96
+ else
97
+ echo "- Skipping $tool (not found)"
98
+ fi
99
+ done
100
+
101
+ # Copy required DLLs by discovering dependencies
102
+ echo ""
103
+ echo "Discovering and copying required DLLs..."
104
+
105
+ # Function to recursively find all DLL dependencies
106
+ find_dll_deps() {
107
+ local file="$1"
108
+ ldd "$file" 2>/dev/null | grep '/mingw64' | awk '{print $3}' | sort -u
109
+ }
110
+
111
+ # Collect all unique DLLs needed by all tools
112
+ ALL_DLLS=""
113
+ for tool in "${TOOLS[@]}"; do
114
+ if [[ -f "$TARGET_DIR/$tool" ]]; then
115
+ TOOL_DLLS=$(find_dll_deps "$TARGET_DIR/$tool")
116
+ ALL_DLLS="$ALL_DLLS $TOOL_DLLS"
117
+ fi
118
+ done
119
+
120
+ # Also check dependencies of the DLLs themselves (transitive deps)
121
+ # Do multiple passes to ensure we get all nested dependencies
122
+ for pass in {1..3}; do
123
+ for dll_path in $ALL_DLLS; do
124
+ if [[ -f "$dll_path" ]]; then
125
+ NESTED_DLLS=$(find_dll_deps "$dll_path")
126
+ ALL_DLLS="$ALL_DLLS $NESTED_DLLS"
127
+ fi
128
+ done
129
+ done
130
+
131
+ # Get unique list
132
+ UNIQUE_DLLS=$(echo "$ALL_DLLS" | tr ' ' '\n' | sort -u | grep -v '^$')
133
+
134
+ # Copy each DLL
135
+ for dll_path in $UNIQUE_DLLS; do
136
+ if [[ -f "$dll_path" ]]; then
137
+ dll_name=$(basename "$dll_path")
138
+ cp "$dll_path" "$TARGET_DIR/"
139
+ echo "✓ Copied $dll_name"
140
+ fi
141
+ done
142
+
143
+ # Specifically check for idevicerestore dependencies (libirecovery, libidevicerestore)
144
+ if [[ -f "$TARGET_DIR/idevicerestore.exe" ]]; then
145
+ echo ""
146
+ echo "Checking idevicerestore-specific dependencies..."
147
+
148
+ # Look for libirecovery and libidevicerestore DLLs
149
+ IRECOVERY_DLLS=$(find "$MINGW_BIN" -name "libirecovery*.dll" 2>/dev/null || true)
150
+ IDEVICERESTORE_DLLS=$(find "$MINGW_BIN" -name "libidevicerestore*.dll" 2>/dev/null || true)
151
+
152
+ for dll in $IRECOVERY_DLLS $IDEVICERESTORE_DLLS; do
153
+ if [[ -f "$dll" ]]; then
154
+ dll_name=$(basename "$dll")
155
+ if [[ ! -f "$TARGET_DIR/$dll_name" ]]; then
156
+ cp "$dll" "$TARGET_DIR/"
157
+ echo "✓ Copied $dll_name (idevicerestore dependency)"
158
+ fi
159
+ fi
160
+ done
161
+ fi
162
+
163
+ # Explicitly copy all libimobiledevice core libraries
164
+ echo ""
165
+ echo "Copying libimobiledevice core libraries..."
166
+ CORE_LIBS=(
167
+ "libimobiledevice-1.0.dll"
168
+ "libimobiledevice-glue-1.0.dll"
169
+ "libusbmuxd-2.0.dll"
170
+ "libplist-2.0.dll"
171
+ "libirecovery-1.0.dll"
172
+ "libidevicerestore-1.0.dll"
173
+ "libideviceactivation-1.0.dll"
174
+ )
175
+
176
+ for lib in "${CORE_LIBS[@]}"; do
177
+ if [[ -f "$MINGW_BIN/$lib" ]] && [[ ! -f "$TARGET_DIR/$lib" ]]; then
178
+ cp "$MINGW_BIN/$lib" "$TARGET_DIR/"
179
+ echo "✓ Copied $lib (core library)"
180
+ fi
181
+ done
182
+
183
+ # Also copy these common runtime DLLs that might not show up in ldd
184
+ RUNTIME_DLLS=(
185
+ "libgcc_s_seh-1.dll"
186
+ "libwinpthread-1.dll"
187
+ "libstdc++-6.dll"
188
+ "libssl-3-x64.dll"
189
+ "libcrypto-3-x64.dll"
190
+ "liblzma-5.dll"
191
+ "libzstd.dll"
192
+ "zlib1.dll"
193
+ )
194
+
195
+ echo ""
196
+ echo "Copying runtime DLLs..."
197
+ for dll in "${RUNTIME_DLLS[@]}"; do
198
+ if [[ -f "$MINGW_BIN/$dll" ]] && [[ ! -f "$TARGET_DIR/$dll" ]]; then
199
+ cp "$MINGW_BIN/$dll" "$TARGET_DIR/"
200
+ echo "✓ Copied $dll"
201
+ fi
202
+ done
203
+
204
+ # List all DLLs that were copied for verification
205
+ echo ""
206
+ echo "=== Summary of copied libraries ==="
207
+ echo "Core libimobiledevice libraries:"
208
+ for lib in "${CORE_LIBS[@]}"; do
209
+ if [[ -f "$TARGET_DIR/$lib" ]]; then
210
+ echo " ✓ $lib"
211
+ else
212
+ echo " ✗ $lib (missing)"
213
+ fi
214
+ done
215
+
216
+ echo ""
217
+ echo "=== Build Complete ==="
218
+ echo "Windows binaries exported to: $TARGET_DIR"
219
+ echo ""
220
+ echo "Note: On Windows, iTunes or Apple Mobile Device Support must be installed"
221
+ echo "for USB communication to work."
222
+
Binary file
@@ -1,33 +0,0 @@
1
- GNU LESSER GENERAL PUBLIC LICENSE
2
- Version 2.1, February 1999
3
-
4
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
-
7
- Everyone is permitted to copy and distribute verbatim copies
8
- of this license document, but changing it is not allowed.
9
-
10
- [This is the first released version of the Lesser GPL. It also counts
11
- as the successor of the GNU Library Public License, version 2, hence
12
- the version number 2.1.]
13
-
14
- Preamble
15
-
16
- The licenses for most software are designed to take away your
17
- freedom to share and change it. By contrast, the GNU General Public
18
- Licenses are intended to guarantee your freedom to share and change
19
- free software--to make sure the software is free for all its users.
20
-
21
- This license, the Lesser General Public License, applies to some
22
- specially designated software packages--typically libraries--of the
23
- Free Software Foundation and other authors who decide to use it. You
24
- can use it too, but we suggest you first think carefully about whether
25
- this license or the ordinary General Public License is the better
26
- strategy to use in any particular case, based on the explanations below.
27
-
28
- libimobiledevice is licensed under the GNU Lesser General Public License
29
- version 2.1 or later (LGPL-2.1+).
30
-
31
- For the full text of the LGPL-2.1 license, see:
32
- https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
33
-
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { ActivationState } from "@/types";
2
- export declare function getActivationState(udid: string): Promise<ActivationState>;
3
- export declare function activate(udid: string): Promise<boolean>;
4
- export interface ApplicationConfig {
5
- name: string;
6
- bundleId: string;
7
- version: string;
8
- build: string;
9
- icon: string;
10
- iconData: Buffer;
11
- }
12
- //# sourceMappingURL=activation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"activation.d.ts","sourceRoot":"","sources":["../../../../src/logic/actions/activation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI/C,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAyB/E;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAiB7D;AAED,MAAM,WAAW,iBAAiB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CACjB"}
@@ -1,15 +0,0 @@
1
- import type { IosCli, IosListResult, IosProfileListResult, LockdownInfo } from "@/types/ios";
2
- export interface ExecResult {
3
- stdout: string;
4
- stderr: string;
5
- }
6
- export declare function info(udid: string, iosCli: IosCli): Promise<LockdownInfo>;
7
- export declare function getActivationState(udid: string, iosCli: IosCli): Promise<{
8
- isActivated: boolean;
9
- activationState: string;
10
- }>;
11
- export declare function listDevices(iosCli: IosCli): Promise<IosListResult>;
12
- export declare function wipeDevice(udid: string, iosCli: IosCli): Promise<void>;
13
- export declare function removeProfile(profileIdentifier: string, udid: string, iosCli: IosCli): Promise<void>;
14
- export declare function listProfiles(udid: string, iosCli: IosCli): Promise<IosProfileListResult>;
15
- //# sourceMappingURL=device.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../src/logic/actions/device.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG7F,MAAM,WAAW,UAAU;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CACf;AAED,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAQ9E;AAED,wBAAsB,kBAAkB,CACvC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACZ,OAAO,CAAC;IAAE,WAAW,EAAE,OAAO,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,CAAC,CAO5D;AAED,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAMxE;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAG5E;AAED,wBAAsB,aAAa,CAClC,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACZ,OAAO,CAAC,IAAI,CAAC,CAGf;AAED,wBAAsB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAG9F"}
@@ -1,10 +0,0 @@
1
- import type { IosCli, IosCommandResult } from "@/types/ios";
2
- import type { AppInfo } from "@/types/types";
3
- import { type InstallAppMdmOptions } from "@mcesystems/mdm-client-g4";
4
- export declare function installLocalApp(ipaPath: string, udid: string, iosCli: IosCli): Promise<IosCommandResult>;
5
- export declare function installManagedApp(ipaPath: string, udid: string, iosCli: IosCli, options: InstallAppMdmOptions): Promise<IosCommandResult>;
6
- export declare function uninstallApp(bundleId: string, udid: string): Promise<void>;
7
- export declare function listApps(udid: string): Promise<AppInfo[]>;
8
- export declare function isAppInstalled(bundleId: string, udid: string): Promise<boolean>;
9
- export declare function wakeDevice(udid: string): Promise<void>;
10
- //# sourceMappingURL=install.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../src/logic/actions/install.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,KAAK,oBAAoB,EAAmB,MAAM,2BAA2B,CAAC;AAMvF,wBAAsB,eAAe,CACpC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACZ,OAAO,CAAC,gBAAgB,CAAC,CAG3B;AAED,wBAAsB,iBAAiB,CACtC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,oBAAoB,GAC3B,OAAO,CAAC,gBAAgB,CAAC,CAQ3B;AAED,wBAAsB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAQhF;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAkB/D;AAED,wBAAsB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAKrF;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgC5D"}
@@ -1,6 +0,0 @@
1
- export declare function isPaired(udid: string): Promise<boolean>;
2
- export declare function trustDevice(udid: string, timeout?: number, onWaitingForTrust?: () => void): Promise<boolean>;
3
- export declare function waitForPairing(udid: string, timeout?: number, pollInterval?: number): Promise<boolean>;
4
- export declare function pair(udid: string): Promise<boolean>;
5
- export declare function unpair(udid: string): Promise<boolean>;
6
- //# sourceMappingURL=pair.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pair.d.ts","sourceRoot":"","sources":["../../../../src/logic/actions/pair.ts"],"names":[],"mappings":"AAGA,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAa7D;AAED,wBAAsB,WAAW,CAChC,IAAI,EAAE,MAAM,EACZ,OAAO,SAAQ,EACf,iBAAiB,CAAC,EAAE,MAAM,IAAI,GAC5B,OAAO,CAAC,OAAO,CAAC,CAmClB;AAED,wBAAsB,cAAc,CACnC,IAAI,EAAE,MAAM,EACZ,OAAO,SAAS,EAChB,YAAY,SAAO,GACjB,OAAO,CAAC,OAAO,CAAC,CAelB;AAED,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAkBzD;AAED,wBAAsB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAa3D"}
@@ -1,23 +0,0 @@
1
- import { type ChildProcess } from "node:child_process";
2
- import type { PortForwardResult } from "@/types/types";
3
- /**
4
- * Start port forwarding using iproxy.
5
- * This spawns a long-running process that must be killed when no longer needed.
6
- *
7
- * @param localPort Local port to listen on
8
- * @param devicePort Device port to forward to
9
- * @param udid Device UDID
10
- * @param startupTimeout Time to wait for iproxy to start (ms)
11
- * @returns Object containing the result and the child process
12
- */
13
- export declare function startPortForward(localPort: number, devicePort: number, udid: string, startupTimeout?: number): Promise<{
14
- result: PortForwardResult;
15
- process: ChildProcess;
16
- }>;
17
- /**
18
- * Kill a port forwarding process
19
- *
20
- * @param process The child process to kill
21
- */
22
- export declare function killPortForwardProcess(process: ChildProcess): void;
23
- //# sourceMappingURL=proxy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../../../src/logic/actions/proxy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAS,MAAM,oBAAoB,CAAC;AAE9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIvD;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC/B,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,cAAc,SAAM,GAClB,OAAO,CAAC;IAAE,MAAM,EAAE,iBAAiB,CAAC;IAAC,OAAO,EAAE,YAAY,CAAA;CAAE,CAAC,CA+E/D;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAKlE"}