mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-19 22:01:12 +00:00
Prepare for multi arch mac builds
This commit is contained in:
parent
e9af3d5bc7
commit
240d6698d6
5
dist/base.gradle
vendored
5
dist/base.gradle
vendored
|
@ -170,7 +170,7 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
copy {
|
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/"
|
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
|
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
|
file("$distDir/X-Pipe.app/Contents/Resources/scripts/xpiped_debug_attach.sh").executable = true
|
||||||
|
|
||||||
if (System.getenv("MACOS_DEVELOPER_ID_APPLICATION_CERTIFICATE_NAME") != null) {
|
if (System.getenv("MACOS_DEVELOPER_ID_APPLICATION_CERTIFICATE_NAME") != null) {
|
||||||
10
|
|
||||||
exec {
|
exec {
|
||||||
commandLine "$projectDir/misc/mac/notarize.sh", "$projectDir"
|
commandLine "$projectDir/misc/mac/notarize.sh", "$projectDir", rootProject.arch.toString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue