fix: define icon path relative to app path

This commit is contained in:
Xymorot 2020-10-31 23:12:00 +01:00
parent 64466943c9
commit 2e0bfa3260
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ switch (os.platform()) {
defaultOptions = {
...defaultOptions,
...{
icon: 'resources/icon.ico',
icon: path.resolve(app.getAppPath(), 'resources', 'icon.ico'),
},
};
break;