aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-06-12 16:25:01 +0200
committerGitHub <noreply@github.com>2022-06-12 16:25:01 +0200
commitd78c28b6b07de0a4a43a484a4c8baf558596b335 (patch)
treed14f2216ce5f9f71de19caecf9308c7c8bc7c079 /src/app
parent461ad2c4183f47c089f307e21acc0c2316874243 (diff)
parent0d81e16ccee3ca8afe5a0310fdbe6d708a1424ce (diff)
downloadViper-d78c28b6b07de0a4a43a484a4c8baf558596b335.tar.gz
Viper-d78c28b6b07de0a4a43a484a4c8baf558596b335.zip
Merge pull request #133 from pcbmaster/main
feat: Option to close Origin when Viper exits
Diffstat (limited to 'src/app')
-rw-r--r--src/app/index.html12
-rw-r--r--src/app/main.js1
2 files changed, 13 insertions, 0 deletions
diff --git a/src/app/index.html b/src/app/index.html
index 2305e4c..0255dd6 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -107,6 +107,18 @@
<input type="text">
</div>
</div>
+ <h2>%%gui.settings.title.misc%%</h2>
+ <div class="option" name="originkill">
+ <div class="text">
+ %%gui.settings.originkill.title%%
+ <div class="desc">
+ %%gui.settings.originkill.desc%%
+ </div>
+ </div>
+ <div class="actions">
+ <button class="switch off"></button>
+ </div>
+ </div>
</div>
</div>
diff --git a/src/app/main.js b/src/app/main.js
index 647e5cd..9fb3191 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -14,6 +14,7 @@ var settings = {
autolang: true,
forcedlang: "en",
autoupdate: true,
+ originkill: false,
zip: "/northstar.zip",
lang: navigator.language,
excludes: [