Skip to content

Commit

Permalink
Merge pull request #5 from OleksandrBlack/icons_treyicon
Browse files Browse the repository at this point in the history
icons_treyicon
  • Loading branch information
opengs authored Oct 13, 2023
2 parents 1bcf316 + ed19304 commit 0e9d3e3
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-electron/electron-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function createWindow () {
* Initial window options
*/
mainWindow = new BrowserWindow({
icon: appIcon.resize({ width: 32, height: 32 }), // tray icon
//icon: appIcon.resize({ width: 32, height: 32, quality: best }), // tray icon
width: 1400,
height: 660,
useContentSize: true,
Expand Down
4 changes: 3 additions & 1 deletion src-electron/handlers/tray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export function handleTray(settings: Settings, mainWindow: BrowserWindow) {
}
}
]));
const appIcon = nativeImage.createFromPath(path.resolve(__dirname, 'icons/icon.png'))

const appIcon = nativeImage.createFromPath(path.resolve(__dirname, 'icons/trey.png'))

tray.setImage(appIcon); // tray icon
tray.setToolTip('IT Army Kit');

Expand Down
Binary file added src-electron/icons/1024x1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/24x24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-electron/icons/icon.icns
Binary file not shown.
Binary file modified src-electron/icons/icon.ico
Binary file not shown.
Binary file added src-electron/icons/trey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/trey@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src-electron/icons/trey@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0e9d3e3

Please sign in to comment.