mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
fix(ci): support desktop release retries
This commit is contained in:
@@ -8,7 +8,11 @@ if (!hasDraggableFlatlist) {
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
const cmd = process.platform === "win32" ? "patch-package.cmd" : "patch-package";
|
||||
const result = spawnSync(cmd, { stdio: "inherit" });
|
||||
const isWindows = process.platform === "win32";
|
||||
const cmd = isWindows ? "patch-package.cmd" : "patch-package";
|
||||
const result = spawnSync(cmd, [], {
|
||||
shell: isWindows,
|
||||
stdio: "inherit",
|
||||
windowsHide: true,
|
||||
});
|
||||
process.exit(result.status ?? 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user