aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.html
diff options
context:
space:
mode:
authorLibravatar haraldox <hnaumann+github@gmail.com>2018-02-22 17:03:33 +0100
committerLibravatar haraldox <hnaumann+github@gmail.com>2018-02-22 17:03:33 +0100
commit136be27ef9185f48262d3ff0e7f754bb5590de45 (patch)
tree790bbd79821a8e355e277c04616d39a7b280f8c1 /src/index.html
parentremove electron frame for Windows testing on macOS (diff)
downloadferdium-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.html2
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) {