diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-02-22 17:03:33 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-02-22 17:03:33 +0100 |
commit | 136be27ef9185f48262d3ff0e7f754bb5590de45 (patch) | |
tree | 790bbd79821a8e355e277c04616d39a7b280f8c1 /src/index.html | |
parent | remove electron frame for Windows testing on macOS (diff) | |
download | ferdium-app-136be27ef9185f48262d3ff0e7f754bb5590de45.tar.gz ferdium-app-136be27ef9185f48262d3ff0e7f754bb5590de45.tar.zst ferdium-app-136be27ef9185f48262d3ff0e7f754bb5590de45.zip |
override platform in code and simulate different environment
[MINOR] REFACTOR rename `FRANZ_PLATFORM` to `OS_PLATFORM`
[MINOR] FIX propTypes for `electron-react-titlebar`
Diffstat (limited to 'src/index.html')
-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 bb10d2eaf..6c259e5be 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.env.FRANZ_PLATFORM ? process.env.FRANZ_PLATFORM : process.platform); | 14 | document.querySelector('body').classList.add(process.env.OS_PLATFORM ? process.env.OS_PLATFORM : process.platform); |
15 | 15 | ||
16 | const { isDevMode } = require('./environment'); | 16 | const { isDevMode } = require('./environment'); |
17 | if (isDevMode) { | 17 | if (isDevMode) { |