diff options
author | Alystrasz <contact@remyraes.com> | 2021-12-28 23:15:07 +0100 |
---|---|---|
committer | Alystrasz <contact@remyraes.com> | 2021-12-28 23:15:07 +0100 |
commit | 68e268303778e7b6d01ff37c4996b3b1c2ea7ead (patch) | |
tree | c940637982e296870e8e06ab6af186a02910e86e /src | |
parent | 30fc024406227c89dc3c6d5a067f21a991d1e20c (diff) | |
download | Viper-68e268303778e7b6d01ff37c4996b3b1c2ea7ead.tar.gz Viper-68e268303778e7b6d01ff37c4996b3b1c2ea7ead.zip |
[refactor] using snake_case for settings.northstar_version property
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.js b/src/utils.js index c5bf05e..13894a8 100644 --- a/src/utils.js +++ b/src/utils.js @@ -17,7 +17,7 @@ process.chdir(app.getPath("appData")); var settings = { gamepath: "", zip: "/northstar.zip", - northstarVersion: "unknown", + northstar_version: "unknown", excludes: [ "ns_startup_args.txt", "ns_startup_args_dedi.txt" @@ -92,7 +92,7 @@ function update() { fs.createReadStream(settings.zip).pipe(unzip.Extract({path: settings.gamepath})) .on("finish", () => { console.log("Installation/Update finished!"); - settings.northstarVersion = tag; + settings.northstar_version = tag; saveSettings(); events.emit("updated"); |