aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-client/src/preload.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-client/src/preload.js')
-rw-r--r--packages/meshbay-client/src/preload.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/meshbay-client/src/preload.js b/packages/meshbay-client/src/preload.js
index 1aa16e5..b390bfb 100644
--- a/packages/meshbay-client/src/preload.js
+++ b/packages/meshbay-client/src/preload.js
@@ -41,10 +41,10 @@ contextBridge.exposeInMainWorld('meshbay', {
localFolders: true,
nativeSave: true,
lanCast: true,
- // Linux only for now -- Windows is being done on that OS. Declared per
- // platform rather than always: a button that hides the window somewhere the
- // desktop shows no indicator would hide it for good.
- tray: process.platform === 'linux',
+ // Linux and Windows have a tray to hide into; declared per platform
+ // rather than always, so the button never appears somewhere the desktop
+ // shows no indicator, which would hide the window for good.
+ tray: process.platform === 'linux' || process.platform === 'win32',
},
// Labels are passed in because the main process has no i18n; see main.js.