Added ability to open Workshop

This commit is contained in:
Paul Black 2023-11-13 16:44:02 -07:00
parent 4a582a86b5
commit 2487aed712

View file

@ -133,9 +133,14 @@ run_updater () {
env WINEPREFIX=$WINEPREFIXX $WINEBIN $WINEPREFIXX/drive_c/Program\ Files\ \(x86\)/Brick\ Hill/legacy_autoupdater.exe
}
run_workshop () {
env WINEPREFIX=$WINEPREFIXX $WINEBIN "$BRICKHILLPATH/Workshop.exe"
}
echo "Welcome to the Brick Hill Linux installer!"
echo "type 1 to install Brick Hill"
echo "type 2 to kill processes in prefix"
echo "type 2 to open the Workshop"
echo "type 3 to kill processes in prefix"
echo "then press enter"
read what
@ -154,6 +159,10 @@ case $what in
echo "Done!"
;;
2)
echo "Selected to open Workshop!"
run_workshop
;;
3)
echo "Selected to kill processes in prefix"
kill_processes
;;