Skip to content

Commit

Permalink
fix(git updater): correctly persist isDev switch
Browse files Browse the repository at this point in the history
Vendicated committed Jan 13, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent cb7045c commit 69a4d27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/updater/git.ts
Original file line number Diff line number Diff line change
@@ -73,6 +73,8 @@ async function build() {
const command = isFlatpak ? "flatpak-spawn" : "node";
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);

return !res.stderr.includes("Build failed");

0 comments on commit 69a4d27

Please sign in to comment.