mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-03 06:03:26 +00:00
Add SWDA to deployment helpers
This commit is contained in:
@@ -5,6 +5,7 @@ echo Making App Support Directories
|
||||
mkdir -p /Library/Application\ Support/Purple/
|
||||
echo Cleaning App Support Cache and Log Directories
|
||||
rm -rf /Library/Application\ Support/Purple/*
|
||||
cd /Library/Application\ Support/Purple/
|
||||
|
||||
# Pull latest files
|
||||
echo Downloading Image Files
|
||||
@@ -18,6 +19,9 @@ curl -s -o /Library/Application\ Support/Purple/launch-dep-en.sh https://raw.git
|
||||
curl -s -o /Library/Application\ Support/Purple/zt-dialog.sh https://raw.githubusercontent.com/PurpleComputing/helpful-scripts/main/zt-dialog.sh
|
||||
curl -s -o /Library/Application\ Support/Purple/join-zt-network.sh https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/join-zt-network.sh
|
||||
|
||||
echo Execute Helper Files
|
||||
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/swda-deploy.sh | bash # INSTALLS SWDA
|
||||
|
||||
echo Making Cache and Log Directories
|
||||
mkdir -p /Library/Caches/com.purplecomputing.mdm/
|
||||
mkdir -p /Library/Caches/com.purplecomputing.mdm/Scripts
|
||||
|
||||
26
Helpers/swda-deploy.sh
Executable file
26
Helpers/swda-deploy.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
# echo "*** PURPLE SWDA DEPLOY SCRIPT ***"
|
||||
################################################################################################
|
||||
#
|
||||
# ******
|
||||
# *...../ / ******
|
||||
# ************** *****/ *****/*****/***/*************/ ****** /**********
|
||||
# ******/..*****/ *****/ *****/********//******/ ,*****/******,***** ,*****/
|
||||
# *****/ ***** *****/ *****/*****/ *****/ /**************************
|
||||
# *******//*****/ *************/*****/ *********************/*******./*/* ())
|
||||
# ************* ******/*****/*****/ *****/******/. ****** ********** (()))
|
||||
# *****/ *****/ ())
|
||||
# *****/ *****/
|
||||
#
|
||||
################################################################################################
|
||||
# SWIFT DEFAULT APPS DEPLOYMENT SCRIPT
|
||||
################################################################################################
|
||||
|
||||
|
||||
cd /Library/Application\ Support/Purple/
|
||||
curl -s -o /Library/Application\ Support/Purple/swda.zip https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/swda.zip
|
||||
unzip swda.zip
|
||||
sleep 3
|
||||
rm swda.zip
|
||||
xattr -r -d com.apple.quarantine /Library/Application\ Support/Purple/swda
|
||||
ln -s /Library/Application\ Support/Purple/swda /usr/local/bin/swda
|
||||
BIN
Helpers/swda.zip
Normal file
BIN
Helpers/swda.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user