xxfast
06/15/2021, 2:37 AM.app
artefact for macos. But when i open it - it does not open the main window. The window does open through Android Studio runtime configurations, but not when packaged for some reason. I’ve attached the compose desktop build script in the thread, am i missing anything here?xxfast
06/15/2021, 2:37 AMcompose.desktop {
application {
mainClass = "org.sample.ApplicationKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "PSCore-Multiplatform"
val iconsRoot = project.file("src/jvmMain/resources/icons")
macOS {
iconFile.set { iconsRoot.resolve("pscore-multiplatform.icns") }
}
windows {
iconFile.set { iconsRoot.resolve("icon-windows.ico") }
menuGroup = "Compose Examples"
// see <https://wixtoolset.org/documentation/manual/v3/howtos/general/generate_guids.html>
upgradeUuid = "18159995-d967-4CD2-8885-77BFA97CFA9F"
}
linux {
iconFile.set { iconsRoot.resolve("icon-linux.png") }
}
}
}
}
jim
06/15/2021, 3:32 AM./gradlew runDistributable --no-daemon
and see if that triggers a more informative error message?xxfast
06/15/2021, 3:50 AMxxfast
06/15/2021, 3:50 AMxxfast
06/15/2021, 3:52 AMjim
06/15/2021, 4:36 AMxxfast
06/15/2021, 4:43 AMxxfast
06/15/2021, 5:17 AMjavax.naming
was coming through, and then added "java.naming"
module, and it worked like a treat 🧁xxfast
06/15/2021, 5:17 AM