Fixes VMWare black screen when macOS update to Catalina
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/sh | |
# | |
# Running on macOS Recovery Mode Terminal | |
# | |
# 1. Save this script to Your home dir. | |
# eg) /Users/your-name/init-vmware-catalina.sh | |
# | |
# 2. Restart the machine and go to Recovery Mode. | |
# (hold [⌘ + R] when the computer starts until you see an Apple logo) | |
# | |
# 3. Go to the top menu and choose Utilities and then Terminal. | |
# | |
# 4. Run this script. | |
# eg) | |
# /bin/sh "/Volumes/Macintosh HD/Users/your-name/init-vmware-catalina.sh" | |
# | |
# 5. exit Teminal and Restart the machine | |
# | |
# See also: https://communities.vmware.com/thread/613755 | |
# See also: https://communities.vmware.com/message/2879755#2879755 | |
# | |
VOLUME="/Volumes/Macintosh HD" | |
PATH="${VOLUME}/usr/bin":$PATH | |
TCCDB="${VOLUME}/Library/Application Support/com.apple.TCC/TCC.db" | |
tccutil reset All com.vmware.fusion | |
sqlite3 "$TCCDB" 'insert into access values ("kTCCServiceScreenCapture", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)' | |
sqlite3 "$TCCDB" 'insert into access values ("kTCCServiceListenEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)' | |
sqlite3 "$TCCDB" 'insert into access values ("kTCCServicePostEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment