multiclaws 0.4.13 → 0.4.14
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/dist/infra/frp.js +2 -2
- package/package.json +1 -1
package/dist/infra/frp.js
CHANGED
|
@@ -362,8 +362,8 @@ class FrpTunnelManager {
|
|
|
362
362
|
(0, node_child_process_1.execSync)(`tar -xzf "${archivePath}" -C "${downloadDir}"`, { stdio: "ignore" });
|
|
363
363
|
}
|
|
364
364
|
else {
|
|
365
|
-
// Windows:
|
|
366
|
-
(0, node_child_process_1.execSync)(`
|
|
365
|
+
// Windows: tar does not support .zip; use PowerShell's Expand-Archive instead
|
|
366
|
+
(0, node_child_process_1.execSync)(`powershell -NoProfile -Command "Expand-Archive -LiteralPath '${archivePath}' -DestinationPath '${downloadDir}' -Force"`, { stdio: "ignore" });
|
|
367
367
|
}
|
|
368
368
|
// Move binary to target
|
|
369
369
|
const extractedBinary = node_path_1.default.join(downloadDir, archiveName, binaryName);
|