diff --git a/build-tools/xaprepare/xaprepare/Steps/Step_InstallAdoptOpenJDK.MacOS.cs b/build-tools/xaprepare/xaprepare/Steps/Step_InstallAdoptOpenJDK.MacOS.cs index cbd0273a00e..8e7e38d1635 100644 --- a/build-tools/xaprepare/xaprepare/Steps/Step_InstallAdoptOpenJDK.MacOS.cs +++ b/build-tools/xaprepare/xaprepare/Steps/Step_InstallAdoptOpenJDK.MacOS.cs @@ -10,6 +10,12 @@ void MoveContents (string sourceDir, string destinationDir) { string realSourceDir = Path.Combine (sourceDir, "Contents", "Home"); Utilities.MoveDirectoryContentsRecursively (realSourceDir, destinationDir); + + var xattr_d = new ProcessRunner ("xattr", "-d", "-r", "com.apple.quarantine", ".") { + EchoStandardError = true, + WorkingDirectory = destinationDir, + }; + xattr_d.Run (); } } }