From 2b741428c13ad775b977ad34b84be2685724a98b Mon Sep 17 00:00:00 2001 From: simeononsecurity <4913771+simeononsecurity@users.noreply.github.com> Date: Mon, 13 May 2024 04:58:46 -0500 Subject: [PATCH] Create sos-build-macos-plist.sh --- sos-build-macos-plist.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sos-build-macos-plist.sh diff --git a/sos-build-macos-plist.sh b/sos-build-macos-plist.sh new file mode 100644 index 0000000..275eb90 --- /dev/null +++ b/sos-build-macos-plist.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +if [ "`whereis plistconvert`" = "" ] ; then + sudo curl -sL https://phimage.github.io/plistconvert/install.sh | bash +fi + +jq ".policies|.EnterprisePoliciesEnabled=true" < ./Files/distribution/policies.json > /tmp/policies.json +plistconvert -o Files/distribution/org.mozilla.firefox.plist --convert plist /tmp/policies.json +