aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-09-14 19:10:44 +0200
committer0neGal <mail@0negal.com>2022-09-14 19:10:44 +0200
commitd8760e60cecb51758cc32056b082c5f83886ea45 (patch)
treea6b709d604d77bad9d4911ac405f73105f5aebf7 /src/app/main.js
parent0c719656d99c69e11794b61a04e2fa31bbe5bb22 (diff)
downloadViper-d8760e60cecb51758cc32056b082c5f83886ea45.tar.gz
Viper-d8760e60cecb51758cc32056b082c5f83886ea45.zip
differentiation between update() and updatevp()
Some functions have been renamed: update() -> updateNorthstar() updatevp() -> updateViper() Overall these are far better function names...
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/main.js b/src/app/main.js
index d6a57d6..bd25071 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -69,7 +69,7 @@ if (!navigator.onLine) {
}
function exit() {ipcRenderer.send("exit")}
-function update() {ipcRenderer.send("update")}
+function updateNorthstar() {ipcRenderer.send("update-northstar")}
// Reports to the main process about game path status.
// @param {boolean} value is game path loaded
@@ -80,7 +80,7 @@ function setpath(value = false) {
// Tells the main process to launch or install Northstar
function launch() {
if (shouldInstallNorthstar) {
- update();
+ updateNorthstar();
shouldInstallNorthstar = false;
} else {
ipcRenderer.send("launch-ns");