mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-22 20:35:48 +03:00
Add timestamp to Mac installer code signing
Use the --timestamp option for 'productsign' to add a secure timestamp. See: https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/resolving_common_notarization_issues Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
parent
7fc592cb22
commit
3b5966bba0
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ fi
|
||||||
if [ ! -z "$identity" ]; then
|
if [ ! -z "$identity" ]; then
|
||||||
echo "Will try to sign the installer"
|
echo "Will try to sign the installer"
|
||||||
pushd $install_path
|
pushd $install_path
|
||||||
productsign --sign "$identity" "$installer_file" "$installer_file.new"
|
productsign --timestamp --sign "$identity" "$installer_file" "$installer_file.new"
|
||||||
mv "$installer_file".new "$installer_file"
|
mv "$installer_file".new "$installer_file"
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue