Skip to content

Commit

Permalink
Update block_osx_install for Mojave
Browse files Browse the repository at this point in the history
  • Loading branch information
sphen13 committed Jul 19, 2018
1 parent 7c23bfe commit 9405edd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Block OSX Install/block_osx_install.mobileconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<true/>
<key>pathBlackList</key>
<array>
<string>/Applications/Install macOS High Sierra Beta.app</string>
<string>/Applications/Install macOS High Sierra.app</string>
<string>/Applications/Install macOS Mojave Beta.app</string>
<string>/Applications/Install macOS Mojave.app</string>
</array>
<key>pathWhiteList</key>
<array>
Expand Down Expand Up @@ -67,7 +67,7 @@
<key>PayloadIdentifier</key>
<string>com.trmacs.block_osx_install</string>
<key>PayloadOrganization</key>
<string>Technology Revealed</string>
<string></string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
Expand All @@ -79,4 +79,4 @@
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
</plist>
2 changes: 1 addition & 1 deletion Block OSX Install/build-info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<key>suppress_bundle_relocation</key>
<true/>
<key>version</key>
<string>1.0.2</string>
<string>1.1</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
</array>
<key>WatchPaths</key>
<array>
<string>/Applications/Install macOS High Sierra.app/</string>
<string>/Applications/Install macOS High Sierra Beta.app/</string>
<string>/Applications/Install macOS Mojave.app/</string>
<string>/Applications/Install macOS Mojave Beta.app/</string>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
#loggedinuser=`stat -f%Su /dev/console`

killall InstallAssistant
rm -rf "/Applications/Install macOS High Sierra Beta.app"
rm -rf "/Applications/Install macOS High Sierra.app"
rm -rf "/Applications/Install macOS Mojave Beta.app"
rm -rf "/Applications/Install macOS Mojave.app"
#sudo -u "$loggedinuser" osascript -e 'tell app "System Events" to display alert "Upgrading your Operating System without approval violates our policy"'

0 comments on commit 9405edd

Please sign in to comment.