From 53851b2e5f7fc3424be67265d48d089ce92392cd Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Tue, 20 Sep 2022 15:24:30 +0100 Subject: [PATCH] Create test-da-chrome.sh --- test-da-chrome.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 test-da-chrome.sh diff --git a/test-da-chrome.sh b/test-da-chrome.sh new file mode 100644 index 0000000..77a7bb6 --- /dev/null +++ b/test-da-chrome.sh @@ -0,0 +1,30 @@ +#!/bin/sh +################################################################################################ +# +# ****** +# *...../ / ****** +# ************** *****/ *****/*****/***/*************/ ****** /********** +# ******/..*****/ *****/ *****/********//******/ ,*****/******,***** ,*****/ +# *****/ ***** *****/ *****/*****/ *****/ /************************** +# *******//*****/ *************/*****/ *********************/*******./*/* ()) +# ************* ******/*****/*****/ *****/******/. ****** ********** (())) +# *****/ *****/ ()) +# *****/ *****/ +# +################################################################################################ +# SETS CHROME AS DEFAULT BROWSER AND MAIL APPLICATION +################################################################################################ + +curl -o /tmp/MSDA.pkg https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/msda.pkg +echo "Status: Running the installer" +installer -pkg /tmp/MSDA.pkg -target / +echo "Status: Cleaning up after the installer" +rm -rf /tmp/MSDA.pkg + +# SETS WEB TRAFFIC to CHROME +/usr/local/bin/msda set com.google.chrome -p http -p https -u public.url all -u public.html viewer -u public.xhtml all -feu +/usr/local/bin/msda set com.google.chrome -p http -p https -u public.url all -u public.html viewer -u public.xhtml all -fut + +# SETS MAIL to CHROME +/usr/local/bin/msda set com.google.chrome -p http -p https -p mailto -u public.url all -u public.html viewer -u public.xhtml all -fut +/usr/local/bin/msda set com.google.chrome -p http -p https -p mailto -u public.url all -u public.html viewer -u public.xhtml all -feu