Live in the system tray instead of the taskbar, bump to 0.1.14
- A tray icon (the app icon) is there for as long as wIRC runs. Left click hides or shows every wIRC window; right click has Show wIRC, Hide wIRC and Exit. Exit disconnects every server and quits. - No wIRC window has a taskbar button. Each window is given a hidden owner window through JNA, because Window.Type.UTILITY can't be set after Compose builds the window and would take wIRC main's minimize button away. - Minimizing any window hides all of them to the tray. Showing them again puts each one back where it was. Hidden windows stay connected and keep filling their buffers. Closing a window with X works the same as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4ac7b75962
commit
24f54574ec
+4
-2
@@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "com.tpuahsiew.wirc"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
|
||||
// No project-level repositories{} block here: settings.gradle.kts sets
|
||||
// dependencyResolutionManagement.repositoriesMode = FAIL_ON_PROJECT_REPOS and already
|
||||
@@ -22,6 +22,8 @@ dependencies {
|
||||
implementation(compose.materialIconsExtended)
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-swing:1.8.1")
|
||||
implementation("org.json:json:20240303")
|
||||
// Native Windows calls that keep wIRC's windows off the taskbar (see AppTray.kt)
|
||||
implementation("net.java.dev.jna:jna-platform:5.14.0")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
@@ -38,7 +40,7 @@ compose.desktop {
|
||||
appResourcesRootDir.set(project.file("installerResources"))
|
||||
targetFormats(TargetFormat.Msi, TargetFormat.Exe)
|
||||
packageName = "wIRC"
|
||||
packageVersion = "0.1.13"
|
||||
packageVersion = "0.1.14"
|
||||
windows {
|
||||
menuGroup = "wIRC"
|
||||
upgradeUuid = "8f14e45f-ceea-4a5e-9c3b-5b1f0e8c2b7a"
|
||||
|
||||
Reference in New Issue
Block a user