From 240d6698d604a844a04ad43220cca74b3293396f Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 4 May 2023 19:02:31 +0000 Subject: [PATCH] Prepare for multi arch mac builds --- dist/base.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/base.gradle b/dist/base.gradle index 81652d3f5..cc3a1466f 100644 --- a/dist/base.gradle +++ b/dist/base.gradle @@ -170,7 +170,7 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) { } copy { - from "$projectDir/PkgInstaller/macOS-x64/darwin/Resources/uninstall.sh" + from "$projectDir/PkgInstaller/darwin/Resources/uninstall.sh" into "$distDir/X-Pipe.app/Contents/Resources/scripts/" } file("$distDir/X-Pipe.app/Contents/Resources/scripts/uninstall.sh").text = file("$distDir/X-Pipe.app/Contents/Resources/scripts/uninstall.sh").text @@ -192,9 +192,8 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) { file("$distDir/X-Pipe.app/Contents/Resources/scripts/xpiped_debug_attach.sh").executable = true if (System.getenv("MACOS_DEVELOPER_ID_APPLICATION_CERTIFICATE_NAME") != null) { - 10 exec { - commandLine "$projectDir/misc/mac/notarize.sh", "$projectDir" + commandLine "$projectDir/misc/mac/notarize.sh", "$projectDir", rootProject.arch.toString() } } }