Create test-da-chrome.sh

This commit is contained in:
Michael
2022-09-20 15:24:30 +01:00
committed by GitHub
parent b4b0fb6b94
commit 53851b2e5f

30
test-da-chrome.sh Normal file
View File

@@ -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