Created
July 13, 2024 11:09
-
-
Save oddmario/06b8a59d446ed03b3232dbfb9486af2e to your computer and use it in GitHub Desktop.
Attempt to fix a corrupted Wineprefix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
killall -9 wine | |
mv ~/.wine ~/.winebak | |
wineboot | |
rm -rf ~/.wine/drive_* | |
mv -f ~/.winebak/drive_* ~/.wine | |
rm -rf ~/.wine/*.reg | |
mv -f ~/.winebak/*.reg ~/.wine | |
rm -rf ~/.winebak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment