This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Call it with eg. sudo bash Disable_macOS_upgrade.sh disable Catalina | |
disable_osxnotification() { | |
if [ -d /Library/Bundles/OSXNotification.bundle ]; then | |
hdiutil create -format UDZO -fs hfs+ -srcfolder /Library/Bundles/OSXNotification.bundle /Library/Bundles/OSXNotification | |
rm -rf /Library/Bundles/OSXNotification.bundle | |
fi | |
if [[ ! -e /Library/Bundles/OSXNotification.bundle ]]; then | |
touch /Library/Bundles/OSXNotification.bundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#### | |
# | |
# Prerequisite steps: | |
# | |
# 1 - Download a copy of the Install macOS app | |
# 2 - Mount the InstallESD.dmg and extract the kernel file with Pacifist from Core.pkg | |
# 3 - Create a new macOS 10.14 vm (give it more ram than the standard 2 GB) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#### | |
# | |
# Prerequisite: You must have a disk image containing the "Install macOS Catalina Beta.app" for beta 6 | |
# (installinstallmacos.py generates a nice one) | |
# The disk image must be reachable on an smb share from the final vm | |
# You must extract the kernel from inside the Core.pkg in InstallESD.dmg located in "Install macOS Catalina Beta.app" and put it on the root of the USB drive | |
# Pacifist from https://charlessoft.com is indispensable for this operation | |
# And you must replace a few VARS down below with values of your own: PATHTOBASESYSTEM, PATHTOBASESYSTEMCHUNKLIST, PATHTOUSBSTICK, SHAREUSERNAME ,SHAREHOST, SHARENAME, PATHTOINSTALLINSTALLMACOSIMAGE |
NewerOlder