Prepare for multi arch mac builds

This commit is contained in:
crschnick 2023-05-04 19:02:31 +00:00
parent e9af3d5bc7
commit 240d6698d6

5
dist/base.gradle vendored
View file

@ -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()
}
}
}