Fixed MAC build script
This commit is contained in:
Valentino Orlandi 2022-11-21 17:53:43 +01:00
parent c4b5046a4f
commit e16e4bab95
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
1 changed files with 2 additions and 2 deletions

View File

@ -162,10 +162,10 @@ fi
cp -r ./osx_bundle/* ../build/LogDoctor.app/Contents/
if [ -e /Applications/LogDoctor.app ]
then
rm -r /Applications/LogDoctor.app
sudo rm -r /Applications/LogDoctor.app
if [[ "$?" != "0" ]]
then
echo "Error: failed to remove old app bundle: /Applications/LogDoctor.app"
echo "Error: failed to remove old bundle: /Applications/LogDoctor.app"
exit
fi
fi