Added Winetricks setting option

This commit is contained in:
Nicole George 2020-04-30 13:47:33 -05:00 committed by GitHub
parent 293b06cb57
commit 9e295c5dfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ export WORLDSDIR="$(dirname "$(readlink -f "$0")")"
export WINEPREFIX=$WORLDSDIR/prefix export WINEPREFIX=$WORLDSDIR/prefix
export WORLDSINSTALL="$WINEPREFIX/drive_c/Program Files/Worlds/WorldsPlayer by Worlds.com" export WORLDSINSTALL="$WINEPREFIX/drive_c/Program Files/Worlds/WorldsPlayer by Worlds.com"
export SETTHEME="DEFAULT" export SETTHEME="DEFAULT"
export WINE="/usr/bin/wine"
mkdir -p $WORLDSDIR/backups $WORLDSDIR/themes mkdir -p $WORLDSDIR/backups $WORLDSDIR/themes
@ -78,8 +79,8 @@ settings () {
"Worlds Location" "$WORLDSINSTALL" \ "Worlds Location" "$WORLDSINSTALL" \
"Edit worlds.ini" "" \ "Edit worlds.ini" "" \
"Wine Configuration" "" \ "Wine Configuration" "" \
"Winetricks" "" \
"Set Theme" "$SETTHEME" \ "Set Theme" "$SETTHEME" \
"Install Theme" "" \
"Backup" "" \ "Backup" "" \
"Restore" "" \ "Restore" "" \
2>/dev/null) 2>/dev/null)
@ -108,6 +109,9 @@ settings () {
'Wine Configuration') 'Wine Configuration')
"$WINE"cfg "$WINE"cfg
settings ;; settings ;;
'Winetricks')
winetricks
settings ;;
'Set Theme') 'Set Theme')
theme theme
settings ;; settings ;;