Skip to content

Commit

Permalink
Create sos-build-macos-plist.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
simeononsecurity authored May 13, 2024
1 parent 6cf35c6 commit 2b74142
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sos-build-macos-plist.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2b74142

Please sign in to comment.