Fixed a forgotten s on a folder name
This commit is contained in:
parent
84f147154a
commit
f0d9b0c066
11
launch.sh
11
launch.sh
|
@ -22,12 +22,12 @@ main() {
|
||||||
FALSE 'Open Worlds folder' \
|
FALSE 'Open Worlds folder' \
|
||||||
FALSE 'Edit worlds.ini' \
|
FALSE 'Edit worlds.ini' \
|
||||||
FALSE 'Backup Worlds files' \
|
FALSE 'Backup Worlds files' \
|
||||||
FALSE 'Restore last backup' \
|
FALSE 'Restore from backup' \
|
||||||
FALSE 'Set theme' \
|
FALSE 'Set theme' \
|
||||||
FALSE 'Clear Cache' 2>/dev/null )
|
FALSE 'Clear Cache' 2>/dev/null )
|
||||||
case $sel in
|
case $sel in
|
||||||
'Start Worlds')
|
'Start Worlds')
|
||||||
wine "$WORLDSINSTALL/run.exe" ;;
|
$WORLDSDIR/proton/dist/bin/wine "$WORLDSINSTALL/run.exe" ;;
|
||||||
'Open Worlds folder')
|
'Open Worlds folder')
|
||||||
gio open "$WORLDSINSTALL"
|
gio open "$WORLDSINSTALL"
|
||||||
main ;;
|
main ;;
|
||||||
|
@ -35,7 +35,7 @@ main() {
|
||||||
xdg-open "$WORLDSINSTALL/worlds.ini"
|
xdg-open "$WORLDSINSTALL/worlds.ini"
|
||||||
main ;;
|
main ;;
|
||||||
'Backup Worlds files')
|
'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)
|
bkup=$(zenity --file-selection --title="Select Backup folder to backup to" --directory --filename="$WORLDSDIR/backups/" --save)
|
||||||
if [[ $? -eq 1 ]]; then
|
if [[ $? -eq 1 ]]; then
|
||||||
main
|
main
|
||||||
|
@ -48,8 +48,8 @@ main() {
|
||||||
cp -r "$WORLDSINSTALL/gamma.worldsmarks" "$bkup/gamma.worldsmarks"
|
cp -r "$WORLDSINSTALL/gamma.worldsmarks" "$bkup/gamma.worldsmarks"
|
||||||
main
|
main
|
||||||
fi ;;
|
fi ;;
|
||||||
'Restore last backup')
|
'Restore from backup')
|
||||||
mkdir -p "$WORLDSDIR/backup"
|
mkdir -p "$WORLDSDIR/backups"
|
||||||
rbkup=$(zenity --file-selection --title="Select Backup folder to restore from" --directory --filename="$WORLDSDIR/backups/")
|
rbkup=$(zenity --file-selection --title="Select Backup folder to restore from" --directory --filename="$WORLDSDIR/backups/")
|
||||||
if [[ $? -eq 1 ]]; then
|
if [[ $? -eq 1 ]]; then
|
||||||
main
|
main
|
||||||
|
@ -63,6 +63,7 @@ main() {
|
||||||
main
|
main
|
||||||
fi ;;
|
fi ;;
|
||||||
'Set theme' )
|
'Set theme' )
|
||||||
|
mkdir -p "$WORLDSDIR/themes"
|
||||||
seltheme=$(zenity --file-selection --title="Select a theme folder" --directory --filename="$WORLDSDIR/themes/")
|
seltheme=$(zenity --file-selection --title="Select a theme folder" --directory --filename="$WORLDSDIR/themes/")
|
||||||
if [[ $? -eq 1 ]]; then
|
if [[ $? -eq 1 ]]; then
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in New Issue
Block a user