fixes to get the released / installed version working (#62)

This commit is contained in:
Tyler Wilding 2022-06-18 00:08:34 -04:00 committed by GitHub
parent c792068ccd
commit 8697ecdf9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View file

@ -81,7 +81,7 @@ const releaseMeta = {
}; };
fs.writeFileSync( fs.writeFileSync(
"./.tauri/latest-release.json", "./.tauri/latest-release.json",
JSON.stringify(releaseMeta, null, 2) JSON.stringify(releaseMeta, null, 2) + "\n"
); );
await octokit.rest.repos.updateRelease({ await octokit.rest.repos.updateRelease({

View file

@ -12,4 +12,4 @@
"url": "https://github.com/open-goal/launcher/releases/download/v0.2.3/opengoal-launcher_0.2.3_x64_en-US.msi.zip" "url": "https://github.com/open-goal/launcher/releases/download/v0.2.3/opengoal-launcher_0.2.3_x64_en-US.msi.zip"
} }
} }
} }

View file

@ -23,9 +23,7 @@ export async function launchGame() {
{ cwd: "bin" } { cwd: "bin" }
); );
} else { } else {
command = Command.sidecar("bin/gk", ["-boot", "-fakeiso", "-debug"], { command = Command.sidecar("bin/gk", ["-boot", "-fakeiso", "-debug"]);
cwd: "bin",
});
} }
command.spawn(); command.spawn();
} }