Added "pol-steamhelp"
This commit is contained in:
parent
816935fd35
commit
7f5c57a5e4
|
@ -0,0 +1,29 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
prefixes=$(ls ~/.PlayOnLinux/wineprefix -w 0)
|
||||||
|
|
||||||
|
chosen=$(zenity --list --text="Select Virtual PoL Drive" --column="Wineprefix" $prefixes)
|
||||||
|
|
||||||
|
path="$HOME/.PlayOnLinux/wineprefix/$chosen"
|
||||||
|
cfg="$path/playonlinux.cfg"
|
||||||
|
arch=$(grep -e "ARCH=" $cfg)
|
||||||
|
|
||||||
|
echo $arch
|
||||||
|
|
||||||
|
if [ $arch == "ARCH=x86" ]; then
|
||||||
|
steampath="$path/drive_c/Program Files/Steam"
|
||||||
|
export WINEARCH=win32
|
||||||
|
elif [ $arch == "ARCH=amd64" ]; then
|
||||||
|
steampath="$path/drive_c/Program Files (x86)/Steam"
|
||||||
|
export WINEARCH=win64
|
||||||
|
else
|
||||||
|
zenity --error --text="Could not detect architecture." --no-wrap
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$steampath"
|
||||||
|
export WINEPREFIX=$path
|
||||||
|
|
||||||
|
$appid=$(zenity --entry --text="Enter Steam AppID")
|
||||||
|
|
||||||
|
wine "Steam.exe" -applaunch $appid
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
Trigger warning: Most of them need "zenity" to be installed.
|
Trigger warning: Most of them need "zenity" to be installed.
|
||||||
|
|
||||||
- witcher-2-import
|
- games/witcher-2-import
|
||||||
- Creates a symlink to your The Witcher savegames, allowing the Linux version of The Witcher 2 to import these.
|
- Creates a symlink to your The Witcher savegames, allowing the Linux version of The Witcher 2 to import these.
|
||||||
|
- playonlinux/pol-steamhelp
|
||||||
|
- Provides a simple GUI to install Steam games via AppID in PlayOnLinux "Virtual Drives".
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue