Skip to content

Commit

Permalink
SRB2: config file fix attempt (again)
Browse files Browse the repository at this point in the history
this better work.
  • Loading branch information
cobalt2727 authored Jan 21, 2024
1 parent 330eea4 commit 8922764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/games_and_emulators/SRB2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ sudo mv SRB2Icon.png /usr/local/SRB2/SRB2Icon.png || error "The game installed,
#why would I bother testing if I formatted spaces correctly when I can just wildcard
sudo mv *.desktop /usr/share/applications/ || error "The game installed, but we couldn't properly set up one or more desktop files!"
#don't break the user's configs if they already have one in there
test -f ~/.srb2/config.cfg || mv config.cfg ~/.srb2/config.cfg || error "The game installed, but we couldn't properly set up one or more desktop files!"
test -f ~/.srb2/config.cfg || mv config.cfg ~/.srb2/ || error "The game installed, but we couldn't properly set up one or more desktop files!"

#hardly anyone will use this but I'm putting it in anyway. it's neat.
xdg-open /usr/local/SRB2/ || echo ""
Expand Down

0 comments on commit 8922764

Please sign in to comment.