aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.html
diff options
context:
space:
mode:
authorLibravatar haraldox <hnaumann+github@gmail.com>2018-02-20 13:23:10 +0100
committerLibravatar haraldox <hnaumann+github@gmail.com>2018-02-20 13:23:10 +0100
commitfc76e14df444d1dcb1b3e254125a6f1f3261e192 (patch)
tree552e37adbca0bedefaf70a568e48b5322119f43c /src/index.html
parent[WIP] incorporate electron-react-titlebar (diff)
downloadferdium-app-fc76e14df444d1dcb1b3e254125a6f1f3261e192.tar.gz
ferdium-app-fc76e14df444d1dcb1b3e254125a6f1f3261e192.tar.zst
ferdium-app-fc76e14df444d1dcb1b3e254125a6f1f3261e192.zip
choose platform with environment variable `FRANZ_PLATFORM`
Diffstat (limited to 'src/index.html')
-rw-r--r--src/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.html b/src/index.html
index 9e5acd705..bb10d2eaf 100644
--- a/src/index.html
+++ b/src/index.html
@@ -11,7 +11,7 @@
11 <div class="dev-warning">DEV MODE</div> 11 <div class="dev-warning">DEV MODE</div>
12 <div id="root"></div> 12 <div id="root"></div>
13 <script> 13 <script>
14 document.querySelector('body').classList.add(process.platform); 14 document.querySelector('body').classList.add(process.env.FRANZ_PLATFORM ? process.env.FRANZ_PLATFORM : process.platform);
15 15
16 const { isDevMode } = require('./environment'); 16 const { isDevMode } = require('./environment');
17 if (isDevMode) { 17 if (isDevMode) {