Skip to content

Commit f53c4f3

Browse files
Add app icon, desktop entry, and release packaging script
- Generate app icon (teal droplet + music note with sound waves) - Create icon sizes: 16, 32, 48, 64, 128, 256, 512, 1024px - Add .desktop file for Linux desktop integration - Set GTK window icon from bundled 256px icon - Bundle icon into release build via CMakeLists.txt - Add scripts/package-release.sh that builds, bundles, and creates a distributable tarball with install/uninstall scripts - No Flutter SDK needed to run: the bundle is fully standalone (users only need GTK3 and mpv system libraries)
1 parent d876df1 commit f53c4f3

13 files changed

Lines changed: 163 additions & 1 deletion

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ sudo pacman -S clang ninja cmake gtk3 pkg-config mpv
9595
- [ ] **Shuffle & repeat** — toggle buttons in now playing bar
9696
- [ ] **Keyboard shortcuts** — Space=play/pause, Left/Right=seek, Ctrl+F=search
9797
- [ ] **MPRIS integration** — system media key support (play/pause/next/prev from DE)
98-
- [ ] **App icon** — custom icon for desktop shortcut and window
98+
- [x] **App icon** — custom icon for desktop shortcut and window
9999
- [ ] **Gapless playback polish** — pre-fetch next track manifest for seamless transition
100100
- [ ] **Offline caching** — cache album art and metadata locally
101101
- [ ] **Settings screen** — audio quality selector, audio output device, cache management

assets/icon/torrential-128.png

25.1 KB
Loading

assets/icon/torrential-16.png

1.64 KB
Loading

assets/icon/torrential-256.png

82.6 KB
Loading

assets/icon/torrential-32.png

2.85 KB
Loading

assets/icon/torrential-48.png

5.03 KB
Loading

assets/icon/torrential-512.png

291 KB
Loading

assets/icon/torrential-64.png

7.94 KB
Loading
1.07 MB
Loading

linux/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,9 @@ if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
126126
install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
127127
COMPONENT Runtime)
128128
endif()
129+
130+
# Install application icon.
131+
set(INSTALL_BUNDLE_ICON_DIR "${CMAKE_INSTALL_PREFIX}/data/icon")
132+
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../assets/icon/torrential-256.png"
133+
DESTINATION "${INSTALL_BUNDLE_ICON_DIR}"
134+
COMPONENT Runtime)

0 commit comments

Comments
 (0)