Peeking Bear ┬┴┤•ᴥ•ʔ

Note: prevent wine from update file association

not sure why this settings being reset from time to time.

so just note the commands to fix here.

# remove all wine desktop entries for mime types.
rm -r ~/.local/share/applications/wine*/

# remove -a switch from global config, which stands for *update file associations*
sed -i '/winemenubuilder.exe/s/-a//' /usr/share/wine/wine.inf

# remove -a switch from any wine installation, under your home directory
# since it edits files inplace, make sure there's no unrelated system.reg before you run this.
find ~ -iname 'system.reg' -x sed -i '/winemenubuilder.exe/s/-a//' {} \+