fix: define icon path relative to app path
This commit is contained in:
parent
64466943c9
commit
2e0bfa3260
|
@ -17,7 +17,7 @@ switch (os.platform()) {
|
|||
defaultOptions = {
|
||||
...defaultOptions,
|
||||
...{
|
||||
icon: 'resources/icon.ico',
|
||||
icon: path.resolve(app.getAppPath(), 'resources', 'icon.ico'),
|
||||
},
|
||||
};
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue