macOS Distribution fixes

This commit is contained in:
Stef Tervelde
2025-03-09 19:25:49 +01:00
parent 24cd7f01f7
commit 64a3b83db4
+3 -1
View File
@@ -109,9 +109,11 @@ tasks.compileJava{
}
tasks.register<Exec>("installCreateDmg") {
commandLine("brew", "install", "--quiet", "create-dmg")
onlyIf { org.gradle.internal.os.OperatingSystem.current().isMacOsX }
commandLine("arch", "-arm64", "brew", "install", "--quiet", "create-dmg")
}
tasks.register<Exec>("packageCustomDmg"){
onlyIf { org.gradle.internal.os.OperatingSystem.current().isMacOsX }
group = "compose desktop"
val distributable = tasks.named<AbstractJPackageTask>("createDistributable").get()