From 132fea11e3599c9c2c9df8a69fd4d093033788ba Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 21 Feb 2022 19:31:33 +0100 Subject: some functionality is now present Albeit only frontend functionality, it doesn't actually save your settings, it simply loads them, and Settings.get(), allows you to convert them to a format that can be used to save settings. --- src/utils.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils.js') diff --git a/src/utils.js b/src/utils.js index 2ea91cd..b4dd920 100644 --- a/src/utils.js +++ b/src/utils.js @@ -20,8 +20,10 @@ process.chdir(app.getPath("appData")); // Base settings var settings = { + nsargs: "", gamepath: "", lang: "en-US", + nsupdate: true, autoupdate: true, zip: "/northstar.zip", -- cgit v1.2.3 From 815106a3e1214196b25a380d83e826473840f948 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Wed, 23 Feb 2022 18:17:56 +0100 Subject: settings page is now fully functional It actually saves settings, loads them properly and everything... --- src/app/index.html | 4 ++-- src/app/settings.js | 5 ++++- src/index.js | 2 ++ src/utils.js | 14 ++++++++++---- 4 files changed, 18 insertions(+), 7 deletions(-) (limited to 'src/utils.js') diff --git a/src/app/index.html b/src/app/index.html index 0bd6694..f605136 100644 --- a/src/app/index.html +++ b/src/app/index.html @@ -26,11 +26,11 @@