Move downloaded apps do /Applications instead of opening them in mac.sh

This commit is contained in:
Christian Baer 2020-09-26 08:00:25 +02:00
parent d8b7e50439
commit 8281cdb106

View File

@ -226,7 +226,7 @@ done
# Install *.app # Install *.app
find $MAC_DOWNLOAD -name "*.app" -print0 | while IFS= read -r -d '' f; do find $MAC_DOWNLOAD -name "*.app" -print0 | while IFS= read -r -d '' f; do
echo ">>> Processing ${f}" echo ">>> Processing ${f}"
open -a "${f}" sudo mv "${f}" /Applications/
done done
#rm -rf $MAC_DOWNLOAD #rm -rf $MAC_DOWNLOAD