moved icons to a folder

This commit is contained in:
antelle 2021-01-09 13:27:28 +01:00
parent 8dc7ad4f01
commit f1e536cbcf
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
4 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 499 B

View File

Before

Width:  |  Height:  |  Size: 872 B

After

Width:  |  Height:  |  Size: 872 B

View File

@ -177,7 +177,7 @@ main.minimizeApp = function (menuItemLabels) {
}
mainWindow.setSkipTaskbar(true);
if (!appIcon) {
const image = electron.nativeImage.createFromPath(path.join(__dirname, imagePath));
const image = electron.nativeImage.createFromPath(path.join(__dirname, 'img', imagePath));
appIcon = new electron.Tray(image);
appIcon.on('click', restoreMainWindow);
const contextMenu = electron.Menu.buildFromTemplate([
@ -271,7 +271,7 @@ function createMainWindow() {
}
};
if (process.platform !== 'win32') {
windowOptions.icon = path.join(__dirname, 'icon.png');
windowOptions.icon = path.join(__dirname, 'img', 'icon.png');
}
mainWindow = new electron.BrowserWindow(windowOptions);
logProgress('creating main window');