Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Fix Linux icon path (#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
rihardsgravis committed Apr 16, 2019
1 parent 55ad7b9 commit f0f2ae8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/desktop/main.js
Expand Up @@ -116,9 +116,7 @@ function createWindow() {
show: false,
frame: process.platform === 'linux',
titleBarStyle: 'hidden',
icon: `${paths.assets}icon.${
process.platform === 'win32' ? 'ico' : process.platform === 'darwin' ? 'icns' : 'png'
}`,
icon: path.resolve(paths.assets, `icon.${process.platform === 'win32' ? 'ico' : process.platform === 'darwin' ? 'icns' : 'png'}`),
webPreferences: {
nodeIntegration: false,
preload: path.resolve(paths.preload, devMode ? 'preloadDev.js' : 'preloadProd.js'),
Expand Down

0 comments on commit f0f2ae8

Please sign in to comment.