feat: add dragon logo icons for window, tray, and taskbar (all platforms)
This commit is contained in:
parent
75c1b2297d
commit
e5f5255a41
6 changed files with 7 additions and 0 deletions
BIN
assets/icon-256.png
Normal file
BIN
assets/icon-256.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
BIN
assets/icon.icns
Normal file
BIN
assets/icon.icns
Normal file
Binary file not shown.
BIN
assets/icon.ico
Normal file
BIN
assets/icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
BIN
assets/icon.png
Normal file
BIN
assets/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 92 KiB |
BIN
assets/tray-icon.png
Normal file
BIN
assets/tray-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
|
|
@ -81,7 +81,14 @@ function updateTrayMenu(stats = null) {
|
|||
|
||||
// ── Main Window ───────────────────────────────────────────────────────────────
|
||||
function createWindow() {
|
||||
const winIcon = process.platform === "win32"
|
||||
? path.join(__dirname, "../../assets/icon.ico")
|
||||
: process.platform === "darwin"
|
||||
? path.join(__dirname, "../../assets/icon.icns")
|
||||
: path.join(__dirname, "../../assets/icon.png");
|
||||
|
||||
mainWindow = new BrowserWindow({
|
||||
icon: winIcon,
|
||||
width: 480,
|
||||
height: 680,
|
||||
minWidth: 400,
|
||||
|
|
|
|||
Loading…
Reference in a new issue