Broken/corrupt file extension association with default app.
Hi all,
I have an issue with file association in macOS. All of a sudden, my .cube files aren't read correctly by the default app.
After doing some research on the topic of “macOS broken file association", I came up with a temporary solution. I need to run these two commands so that the default app opens my .cube files.
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder
The problem is that every time I restart, file association is broken again. I've tried this in safe mode, and the same thing happens.
Thanks in advance
MacBook Pro 16″