bugfix
This commit is contained in:
DarDarDoor 2022-06-14 14:51:32 +00:00 committed by GitHub
parent 057f122b12
commit 9e649b5bc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ then
echo "When the installer is run, please select the Uninstall option and follow the prompts, otherwise this won't work. "
sleep 3
wine PlaceholderPlayerLauncher.exe -Uninstall
rm $HOME/.wine/drive_c/users/$USER/AppData/Roaming/Placeholder -rf
rm $HOME/.wine/drive_c/users/$USER/AppData/Local/Placeholder -rf
sudo rm /usr/share/applications/placeholder.desktop
sudo update-desktop-database
rm PlaceholderPlayerLauncher.exe
@ -172,7 +172,7 @@ echo "[Desktop Entry]" >> placeholder.desktop
echo "Name=Placeholder Player" >> placeholder.desktop
echo "Comment=https://placeholder16.tk/" >> placeholder.desktop
echo "Type=Application" >> placeholder.desktop
echo "Exec=wine $PREFIX/drive_c/users/$USER/AppData/Roaming/Placeholder/Versions/*/PlaceholderLauncher.exe %u" >> placeholder.desktop
echo "Exec=wine $PREFIX/drive_c/users/$USER/AppData/Local/Placeholder/Versions/*/PlaceholderPlayerLauncher.exe %u" >> placeholder.desktop
echo "MimeType=x-scheme-handler/placeholder2016" >> placeholder.desktop
sudo mv placeholder.desktop /usr/share/applications
sudo update-desktop-database