fix(git updater): correctly persist isDev switch
This commit is contained in:
parent
cb7045c00b
commit
69a4d2734e
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ async function build() {
|
||||||
const command = isFlatpak ? "flatpak-spawn" : "node";
|
const command = isFlatpak ? "flatpak-spawn" : "node";
|
||||||
const args = isFlatpak ? ["--host", "node", "scripts/build/build.mjs"] : ["scripts/build/build.mjs"];
|
const args = isFlatpak ? ["--host", "node", "scripts/build/build.mjs"] : ["scripts/build/build.mjs"];
|
||||||
|
|
||||||
|
if (IS_DEV) args.push("--dev");
|
||||||
|
|
||||||
const res = await execFile(command, args, opts);
|
const res = await execFile(command, args, opts);
|
||||||
|
|
||||||
return !res.stderr.includes("Build failed");
|
return !res.stderr.includes("Build failed");
|
||||||
|
|
Loading…
Reference in a new issue