diff --git a/server/build.gradle.kts b/server/build.gradle.kts index 57e82c6..d6df74e 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -149,7 +149,7 @@ launch4j { //used for windows bundledJre64Bit = true jreMinVersion = "8" outputDir = "Tachidesk-$TachideskVersion-$TachideskRevision-win32" - icon = "${projectDir}/src/main/resources/icon/icon_round.ico" + icon = "${projectDir}/src/main/resources/icon/faviconlogo.ico" jar = "${projectDir}/build/Tachidesk-$TachideskVersion-$TachideskRevision.jar" } diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt index 4e05e4e..c5dca78 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt @@ -30,7 +30,7 @@ fun openInBrowser() { Desktop.browseURL("http://127.0.0.1:4567") } -val icon = Main::class.java.getResource("/icon/icon_round.png") +val icon = Main::class.java.getResource("/icon/faviconlogo.png") fun systemTray(): SystemTray? { // ref: https://github.com/dorkbox/SystemTray/blob/master/test/dorkbox/TestTray.java diff --git a/server/src/main/resources/icon/faviconlogo.ico b/server/src/main/resources/icon/faviconlogo.ico new file mode 100644 index 0000000..eac577b Binary files /dev/null and b/server/src/main/resources/icon/faviconlogo.ico differ diff --git a/server/src/main/resources/icon/faviconlogo.png b/server/src/main/resources/icon/faviconlogo.png new file mode 100644 index 0000000..66c27f4 Binary files /dev/null and b/server/src/main/resources/icon/faviconlogo.png differ diff --git a/server/src/main/resources/icon/icon_round.ico b/server/src/main/resources/icon/icon_round.ico deleted file mode 100644 index 1d0fbe9..0000000 Binary files a/server/src/main/resources/icon/icon_round.ico and /dev/null differ diff --git a/server/src/main/resources/icon/icon_round.png b/server/src/main/resources/icon/icon_round.png deleted file mode 100644 index ead7c32..0000000 Binary files a/server/src/main/resources/icon/icon_round.png and /dev/null differ