mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-06 19:38:58 +00:00
feat: add logos for each 3 variants
This commit is contained in:
parent
513ef8b07b
commit
2f9d7fe157
5 changed files with 12 additions and 0 deletions
|
|
@ -452,6 +452,15 @@ compose.desktop {
|
|||
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||||
packageName = "Nuvio"
|
||||
packageVersion = releaseAppVersionName
|
||||
macOS {
|
||||
iconFile.set(project.file("src/desktopMain/resources/icons/nuvio-app-icon.icns"))
|
||||
}
|
||||
windows {
|
||||
iconFile.set(project.file("src/desktopMain/resources/icons/nuvio-app-icon.ico"))
|
||||
}
|
||||
linux {
|
||||
iconFile.set(project.file("src/desktopMain/resources/icons/nuvio-app-icon.png"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ import androidx.compose.runtime.mutableStateOf
|
|||
import androidx.compose.runtime.remember
|
||||
import androidx.compose.runtime.setValue
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.window.Window
|
||||
import androidx.compose.ui.window.WindowState
|
||||
import androidx.compose.ui.window.application
|
||||
|
|
@ -17,6 +18,7 @@ import java.awt.Color as AwtColor
|
|||
import javax.swing.JComponent
|
||||
|
||||
private val NuvioDesktopNativeBackground = AwtColor(0x0D, 0x0D, 0x0D)
|
||||
private const val NuvioDesktopIconPath = "icons/nuvio-app-icon.png"
|
||||
|
||||
fun main() {
|
||||
preloadNativePlayerBridgeAsync()
|
||||
|
|
@ -32,6 +34,7 @@ fun main() {
|
|||
onCloseRequest = ::exitApplication,
|
||||
title = if (smokePlayerUrl == null) "Nuvio" else "Nuvio Player Smoke",
|
||||
state = WindowState(width = 1280.dp, height = 820.dp),
|
||||
icon = painterResource(NuvioDesktopIconPath),
|
||||
) {
|
||||
SideEffect {
|
||||
window.background = NuvioDesktopNativeBackground
|
||||
|
|
|
|||
BIN
composeApp/src/desktopMain/resources/icons/nuvio-app-icon.icns
Normal file
BIN
composeApp/src/desktopMain/resources/icons/nuvio-app-icon.icns
Normal file
Binary file not shown.
BIN
composeApp/src/desktopMain/resources/icons/nuvio-app-icon.ico
Normal file
BIN
composeApp/src/desktopMain/resources/icons/nuvio-app-icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
BIN
composeApp/src/desktopMain/resources/icons/nuvio-app-icon.png
Normal file
BIN
composeApp/src/desktopMain/resources/icons/nuvio-app-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
Loading…
Reference in a new issue