bitfab-cli 0.2.188 → 0.2.190
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/index.js +2 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9942,7 +9942,7 @@ function openOsDefault(url2) {
|
|
|
9942
9942
|
return spawnDetached("xdg-open", [url2]);
|
|
9943
9943
|
}
|
|
9944
9944
|
function shouldDisableChromelessWindows() {
|
|
9945
|
-
return process.env.BITFAB_DISABLE_CHROME_APP_WINDOWS === "1";
|
|
9945
|
+
return process.env.BITFAB_ENABLE_CHROME_APP_WINDOWS !== "1" || process.env.BITFAB_DISABLE_CHROME_APP_WINDOWS === "1";
|
|
9946
9946
|
}
|
|
9947
9947
|
var WINDOW_OPEN_RATE_WINDOW_MS = 3e4;
|
|
9948
9948
|
var WINDOW_OPEN_RATE_LIMIT = 3;
|
|
@@ -9964,7 +9964,7 @@ function buildCloseStudioWindowsAppleScript(appName, sessionId) {
|
|
|
9964
9964
|
` try`,
|
|
9965
9965
|
` repeat with t in (every tab of w)`,
|
|
9966
9966
|
` if (URL of t) contains "${sessionId}" then`,
|
|
9967
|
-
` close
|
|
9967
|
+
` close t`,
|
|
9968
9968
|
` exit repeat`,
|
|
9969
9969
|
` end if`,
|
|
9970
9970
|
` end repeat`,
|
|
@@ -25654,9 +25654,6 @@ import path14 from "path";
|
|
|
25654
25654
|
// ../bitfab-plugin-lib/dist/commands/update.js
|
|
25655
25655
|
import { execSync as execSync2 } from "child_process";
|
|
25656
25656
|
|
|
25657
|
-
// ../bitfab-plugin-lib/dist/commands/waitForTrace.js
|
|
25658
|
-
var DEFAULT_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
25659
|
-
|
|
25660
25657
|
// ../bitfab-plugin-lib/dist/hooks/captureHook.js
|
|
25661
25658
|
import fs17 from "fs";
|
|
25662
25659
|
|