diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-02-20 13:23:10 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-02-20 13:23:10 +0100 |
commit | fc76e14df444d1dcb1b3e254125a6f1f3261e192 (patch) | |
tree | 552e37adbca0bedefaf70a568e48b5322119f43c /src | |
parent | [WIP] incorporate electron-react-titlebar (diff) | |
download | ferdium-app-fc76e14df444d1dcb1b3e254125a6f1f3261e192.tar.gz ferdium-app-fc76e14df444d1dcb1b3e254125a6f1f3261e192.tar.zst ferdium-app-fc76e14df444d1dcb1b3e254125a6f1f3261e192.zip |
choose platform with environment variable `FRANZ_PLATFORM`
Diffstat (limited to 'src')
-rw-r--r-- | src/index.html | 2 |
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) { |