mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-03 06:03:26 +00:00
27 lines
833 B
Bash
27 lines
833 B
Bash
#!/bin/zsh
|
|
# launch-app-installo.sh
|
|
|
|
# SERVICE SCRIPT CALLED BY OTHER SCRIPTS
|
|
|
|
# INSTALLS APPLICATION
|
|
|
|
## BELOW CODE COMMENTED OUT
|
|
# sleep 5
|
|
# curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/install-app-loop-beta.sh?v=123$(date +%s) | bash
|
|
#
|
|
# # CHECKS TO ADD TO DOCK OR NOT
|
|
# if [ "$MDMADDTODOCK" == "Y" ]; then
|
|
# echo "SCRIPT WILL TRY TO ADD TO DOCK"
|
|
# curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/add-to-dock.sh?v=123$(date +%s) | bash
|
|
# sleep 2
|
|
# killall Dock
|
|
# else
|
|
# echo "SCRIPT WILL NOT TRY TO ADD TO DOCK"
|
|
# echo Continuing...
|
|
# fi
|
|
# ABOVE CODE COMMENTED OUT
|
|
|
|
# NEW SCRIPT
|
|
echo "Redirecting Script to Latest..."
|
|
curl -s -L "https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/launch-app-installs.sh?v=123"$(date +%s) | bash
|