updated do variable and fixed swift default apps

This commit is contained in:
Michael
2022-09-21 17:05:17 +00:00
parent f501b25696
commit 1e8b818bf9
3 changed files with 4 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ if [ ! -e "${destFile}" ]; then
caffexit 99
fi
echo Started Installomator
for what in $whatList; do
for what in $whatList; #do
echo Installing ${what}
echo "Status: installing ${what}" >> /var/tmp/depnotify.log
echo "Command: DeterminateManualStep: 1" >> /var/tmp/depnotify.log

View File

@@ -8,13 +8,14 @@ cd /Library/Application\ Support/Purple/
# CHECKS FOR DIALOG AND PRESENTS IF REQUESTED
if [ "$SHOWDIALOG" == "Y" ]; then
echo "Dialog will open"
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/show-dialog-depnotify.sh | bash &
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/show-dialog-depnotify.sh | bash
else
echo "Dialog will not open"
echo Continuing...
fi
# INSTALLS APPLICATION
sleep 5
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/install-app-loop.sh | bash
# CHECKS TO ADD TO DOCK OR NOT

View File

@@ -17,4 +17,4 @@ echo "$MDMAPPNAME" >> /Library/Caches/com.purplecomputing.mdm/Apps/.appinstallna
curl -s -L https://prpl.it/brandDEPinstall | bash
# START DEPNOTIFY
sudo -u $(stat -f "%Su" /dev/console) /Library/Application\ Support/Purple/launch-dep.sh
sudo -u $(stat -f "%Su" /dev/console) /Library/Application\ Support/Purple/launch-dep.sh &