@swmansion/argent 0.16.1 → 0.16.2-next.1
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/bin/argent-android-devtools-0.1.0.apk +0 -0
- package/bin/argent-simulator-server.cjs +7 -2
- package/bin/darwin/ax-service +0 -0
- package/bin/darwin/tvos-ax-service +0 -0
- package/bin/darwin/tvos-hid-daemon +0 -0
- package/bin/tcp/ax-service +0 -0
- package/dist/cli-cmds.mjs +624 -122
- package/dist/cli.js +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/installer.mjs +43 -16
- package/dist/mcp-server.mjs +27 -17
- package/dist/tool-server.cjs +368 -294
- package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/libKeyboardPatch.dylib +0 -0
- package/dylibs/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tcp/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tcp/libKeyboardPatch.dylib +0 -0
- package/dylibs/tcp/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tvos/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tvos/libKeyboardPatch.dylib +0 -0
- package/dylibs/tvos/libNativeDevtoolsIos.dylib +0 -0
- package/package.json +1 -1
|
Binary file
|
|
@@ -21,11 +21,16 @@ const fs = require("node:fs");
|
|
|
21
21
|
const platformKey =
|
|
22
22
|
process.platform === "linux" && process.arch === "arm64" ? "linux-arm64" : process.platform;
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
// PE `.exe` on Windows, extensionless ELF/Mach-O elsewhere. Mirrors
|
|
25
|
+
// simulatorServerBinaryName() in @argent/native-devtools-ios; inlined because
|
|
26
|
+
// this file ships verbatim as the npm `bin` entry and can't import.
|
|
27
|
+
const binaryName = process.platform === "win32" ? "simulator-server.exe" : "simulator-server";
|
|
28
|
+
|
|
29
|
+
const binary = path.join(__dirname, platformKey, binaryName);
|
|
25
30
|
if (!fs.existsSync(binary)) {
|
|
26
31
|
console.error(
|
|
27
32
|
`argent-simulator-server: no binary for platform "${platformKey}" at ${binary}.\n` +
|
|
28
|
-
`Supported hosts today: darwin, linux (x86_64 and arm64).`
|
|
33
|
+
`Supported hosts today: darwin, linux (x86_64 and arm64), win32.`
|
|
29
34
|
);
|
|
30
35
|
process.exit(1);
|
|
31
36
|
}
|
package/bin/darwin/ax-service
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/tcp/ax-service
CHANGED
|
Binary file
|