Gcenx wrote:Always gotta be sure I learned that the hard way before with end-users, with the forums been visable to anyone better to be safe. (Someone forgets the ~ and kills there system)
The file responsible for “open with” menu would be;
Deleting it would force macOS to remake the menu.
I've restarted my computer (because it was having problems and I needed to re-install an NTFS driver), and now am having the original "open with" problem. Honestly, my computer seems to be randomly working and then not working.
I just deleted this inside of .../com.apple.LaunchServices/com.apple.launchservices.secure.plist:
Code: Select all
<dict>
<key>LSHandlerContentType</key>
<string>com.microsoft.windows-executable</string>
<key>LSHandlerPreferredVersions</key>
<dict>
<key>LSHandlerRoleAll</key>
<string>-</string>
</dict>
<key>LSHandlerRoleAll</key>
<string>org.winehq.wine-devel.wine</string>
</dict>
Now some apps when launched with Wine seems to be working. Thanks for the help!
Edit: None of them work again
I deleted ../com.apple.LaunchServices/ and com.apple.LaunchServices.plist and relaunched finder, I was able to open one .exe properly before opening any brought me to Wine's terminal GUI.
Also, unless someone has SIP disabled and uses root, they shouldn't be able to run that command (but I'm not going to test that to make sure).