Author SHA1 Message Date
herel 9c9716a352 fix(build): Remove existing app before desktop install
cp -R into an existing /Applications/myicek.app nested the new bundle
inside the old one (myicek.app/myicek.app) and failed on the read-only
legal files of the previous install. Delete the previous bundle first.
2026-08-31 16:41:30 +02:00
herel f2f5a15967 build: Bypass Homebrew JDK vendor check for desktop packaging
Compose Desktop's checkRuntime task rejects Homebrew JDK distributions
because their bundled runtimes may be broken. Disable the vendor check
to keep packaging with the current toolchain.

Refs JetBrains/compose-multiplatform#3107
2026-08-31 16:41:30 +02:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ desktop:
desktop-install:
./gradlew composeApp:packageDistributionForCurrentOS
rm -rf /Applications/myicek.app
cp -R composeApp/build/compose/binaries/main/app/myicek.app /Applications/myicek.app
android-usb: android
+1
View File
@@ -2,3 +2,4 @@ kotlin.code.style=official
android.useAndroidX=true
android.nonTransitiveRClass=true
org.gradle.jvmargs=-Xmx4096m
compose.desktop.packaging.checkJdkVendor=false