Added a game list maker script for Crazy Party. did some restructuring of convenience scripts.

This commit is contained in:
Storm Dragon
2020-11-01 21:09:33 -05:00
parent 047904e471
commit 0f6f5939f3
6 changed files with 37 additions and 0 deletions

15
wine/mkwine.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
export WINEARCH=win32
bottle="${1,,}"
shift
bottle="${bottle//[[:space:]]/-}"
mkdir -p "$HOME/.local/wine/${bottle}"
export WINEPREFIX="$HOME/.local/wine/${bottle}"
# Arguments to the function are dependancies to be installed.
(wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /silent
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
exit 0