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