mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-03 14:13:27 +00:00
updated do variable and fixed swift default apps
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 &
|
||||
Reference in New Issue
Block a user