解决macOS10.15+的软件兼容性问题

我这里有两个软件出现了不显示画面和手柄无法输入的的问题,是Wmware Fusion和Citra

先去应用程序里找到这个app,然后右键显示包内容,打开Contents中的Info.plist,找到有CFBundleIdentifier的那一行的下一行,把string标签中的包名复制出来待会会用到

打开终端机,执行这3条命令,注意把包名替换刚刚复制出来的包名

sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceScreenCapture", "包名", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceListenEvent", "包名", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServicePostEvent", "包名", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'

这就给了他辅助功能、输入监视、屏幕录制的权限啦


Citra:(启动游戏之后要改变一下窗口大小才才会显示,另外mac可以完美支持ps手柄usb外接,xbox的不行)

sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceScreenCapture", "com.citra-emu.citra", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceListenEvent", "com.citra-emu.citra", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServicePostEvent", "com.citra-emu.citra", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'

Wmware Fusion:

sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceScreenCapture", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceListenEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServicePostEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'

如果文章对你有帮助, 你可以: 请我喝可乐

Leave a Comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.