fix(desktop): ship multi-size icons so linux launchers can find them
electron-builder was given a single 2048x2048 icon.png and dumped it into hicolor/2048x2048/apps/, a bucket no Linux desktop environment indexes — launchers and taskbar fell back to a generic placeholder. Pre-render the standard sizes (16, 32, 48, 64, 128, 256, 512, 1024) and point linux.icon at the directory so each PNG lands in the matching hicolor/NxN/apps/ slot. Tray icon was unaffected (loaded at runtime via Electron's Tray API from bundled resources, no theme lookup).
BIN
surfsense_desktop/assets/icons/1024x1024.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
surfsense_desktop/assets/icons/128x128.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
surfsense_desktop/assets/icons/16x16.png
Normal file
|
After Width: | Height: | Size: 841 B |
BIN
surfsense_desktop/assets/icons/256x256.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
surfsense_desktop/assets/icons/32x32.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
surfsense_desktop/assets/icons/48x48.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
surfsense_desktop/assets/icons/512x512.png
Normal file
|
After Width: | Height: | Size: 371 KiB |
BIN
surfsense_desktop/assets/icons/64x64.png
Normal file
|
After Width: | Height: | Size: 9 KiB |
|
|
@ -77,7 +77,7 @@ nsis:
|
||||||
createDesktopShortcut: true
|
createDesktopShortcut: true
|
||||||
createStartMenuShortcut: true
|
createStartMenuShortcut: true
|
||||||
linux:
|
linux:
|
||||||
icon: assets/icon.png
|
icon: assets/icons/
|
||||||
category: Utility
|
category: Utility
|
||||||
artifactName: "${productName}-${version}-${arch}.${ext}"
|
artifactName: "${productName}-${version}-${arch}.${ext}"
|
||||||
mimeTypes:
|
mimeTypes:
|
||||||
|
|
|
||||||