Skip to content

Commit

Permalink
Fix desktop app resource loading error
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorKabata committed Aug 26, 2024
1 parent 9b72ba5 commit ca34ae8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion appDesktop/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.compose.desktop.application.dsl.TargetFormat

plugins {
alias(libs.plugins.jvm)
alias(libs.plugins.compose)
Expand All @@ -12,6 +14,11 @@ dependencies {

compose.desktop {
application {
mainClass = "NotflixApplicationKt"
mainClass = "com.vickbt.notflix.MainKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "Notflix"
packageVersion = "1.0.0"
}
}
}

0 comments on commit ca34ae8

Please sign in to comment.