From f0d9b0c0668f9e26e76cb49b28c8240b3055fd7d Mon Sep 17 00:00:00 2001 From: Nicole George Date: Mon, 10 Feb 2020 12:15:45 -0600 Subject: [PATCH] Fixed a forgotten s on a folder name --- launch.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/launch.sh b/launch.sh index 0a61bd7..3b6e451 100644 --- a/launch.sh +++ b/launch.sh @@ -22,12 +22,12 @@ main() { FALSE 'Open Worlds folder' \ FALSE 'Edit worlds.ini' \ FALSE 'Backup Worlds files' \ - FALSE 'Restore last backup' \ + FALSE 'Restore from backup' \ FALSE 'Set theme' \ FALSE 'Clear Cache' 2>/dev/null ) case $sel in 'Start Worlds') - wine "$WORLDSINSTALL/run.exe" ;; + $WORLDSDIR/proton/dist/bin/wine "$WORLDSINSTALL/run.exe" ;; 'Open Worlds folder') gio open "$WORLDSINSTALL" main ;; @@ -35,7 +35,7 @@ main() { xdg-open "$WORLDSINSTALL/worlds.ini" main ;; 'Backup Worlds files') - mkdir -p "$WORLDSDIR/backup" + mkdir -p "$WORLDSDIR/backups" bkup=$(zenity --file-selection --title="Select Backup folder to backup to" --directory --filename="$WORLDSDIR/backups/" --save) if [[ $? -eq 1 ]]; then main @@ -48,8 +48,8 @@ main() { cp -r "$WORLDSINSTALL/gamma.worldsmarks" "$bkup/gamma.worldsmarks" main fi ;; - 'Restore last backup') - mkdir -p "$WORLDSDIR/backup" + 'Restore from backup') + mkdir -p "$WORLDSDIR/backups" rbkup=$(zenity --file-selection --title="Select Backup folder to restore from" --directory --filename="$WORLDSDIR/backups/") if [[ $? -eq 1 ]]; then main @@ -63,6 +63,7 @@ main() { main fi ;; 'Set theme' ) + mkdir -p "$WORLDSDIR/themes" seltheme=$(zenity --file-selection --title="Select a theme folder" --directory --filename="$WORLDSDIR/themes/") if [[ $? -eq 1 ]]; then main