diff --git a/electron/gameWindow.js b/electron/gameWindow.js index eca464a8f..fb14326d4 100644 --- a/electron/gameWindow.js +++ b/electron/gameWindow.js @@ -14,7 +14,14 @@ const debug = process.argv.includes("--debug"); async function createWindow(killall) { const setStopProcessHandler = global.app_handlers.stopProcess; + + let icon; + if (process.platform == 'linux') { + icon = path.join(__dirname, 'icon.png'); + } + const window = new BrowserWindow({ + icon, show: false, backgroundThrottling: false, backgroundColor: "#000000",