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(
"./.tauri/latest-release.json",
JSON.stringify(releaseMeta, null, 2)
JSON.stringify(releaseMeta, null, 2) + "\n"
);
await octokit.rest.repos.updateRelease({

View file

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