很诡异,启动台里面有也可以用
但是在 Gerneal 里面设置默认浏览器那里没有 Chrome 了
从 Chrome 的设置里面点设为默认也没用
Alfred 搜索现在打开的也变成了 Safari
有点难受
1
fm92 2020-11-18 22:15:12 +08:00
我更新前默认是 chrome,更新之后还是
|
2
WillBC 2020-11-19 11:13:41 +08:00 via iPhone
不保证有效,你可以试试在终端运行下面的代码,然后重启电脑。
html=' <dict> <key>LSHandlerContentType</key> <string>public.html</string> <key>LSHandlerPreferredVersions</key> <dict> <key>LSHandlerRoleAll</key> <string>-</string> </dict> <key>LSHandlerRoleAll</key> <string>com.google.chrome</string> </dict> ' xhtml=' <dict> <key>LSHandlerContentType</key> <string>public.xhtml</string> <key>LSHandlerPreferredVersions</key> <dict> <key>LSHandlerRoleAll</key> <string>-</string> <key>LSHandlerRoleViewer</key> <string>-</string> </dict> <key>LSHandlerRoleAll</key> <string>com.google.chrome</string> </dict> ' http=' <dict> <key>LSHandlerPreferredVersions</key> <dict> <key>LSHandlerRoleAll</key> <string>-</string> </dict> <key>LSHandlerRoleAll</key> <string>com.google.chrome</string> <key>LSHandlerURLScheme</key> <string>http</string> </dict> ' https=' <dict> <key>LSHandlerPreferredVersions</key> <dict> <key>LSHandlerRoleAll</key> <string>-</string> </dict> <key>LSHandlerRoleAll</key> <string>com.google.chrome</string> <key>LSHandlerURLScheme</key> <string>https</string> </dict> ' defaults write ~/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist LSHandlers -array-add "$html" "$xhtml" "$http" "$https" |
3
bigsma11 2020-11-19 11:18:58 +08:00 via iPhone
我可以在 general 设置,试试卸载 chrome 重装?
|