aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2021-12-27 03:04:03 +0100
committer0neGal <mail@0negal.com>2021-12-27 03:06:02 +0100
commit8dcc759cf4a5af32c25dc7ad26ffb2c6c258a7ef (patch)
tree4b8aab612886bf41cfb749f887ef192feebde944 /src/app/main.js
parentfa94f92e15b5e1e7fe2bcdeb4d74b153cc47c133 (diff)
downloadViper-8dcc759cf4a5af32c25dc7ad26ffb2c6c258a7ef.tar.gz
Viper-8dcc759cf4a5af32c25dc7ad26ffb2c6c258a7ef.zip
made the app prettier on windows
I removed the titlebar, which I already had gone on my Linux system, besides that I also made it so the body of Viper can be held down to drag it around. And then added an exit button.
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index 82d6526..17389b2 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -16,6 +16,7 @@ if (fs.existsSync(settings.file)) {
setpath();
}
+function exit() {ipcRenderer.send("exit")}
function update() {ipcRenderer.send("update")}
function setpath() {ipcRenderer.send("setpath")}