Het forum

need help with run script

using POL efficiently

Auteur Antwoorden
rablanken Dinsdag 24 Februari 2015 om 4:01
rablankenAnonymous

Hey guys,

 

Normally, I use the POL GUI to start World of Warcraft. I do this in the following way:

Open POL GUI -> Configure -> Miscellaneous (tab) -> "Run a .exe in this virtual drive" -> (select executable in file prompt)

 

To make things go faster, I tried to make this script:

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_Wine_SelectPrefix "HS"
POL_Wine start /unix "Ancillary/World of Warcraft/Wow.exe"
exit

 

However, the script only works when I use the GUI to run it, by doing Tools (menu) -> "Run Local Script"

Any help would be much appreciated! Just to be clear, my main goal is to use POL to manage my wine versions and play WoW without installing it to a new prefix.

 

rablanken Dinsdag 24 Februari 2015 om 4:03
rablankenAnonymous

To clarify again, nothing happens when I try to run this script like a normal .sh in the following manner:

chmod +x myscript.sh

./script.sh

 

 

Ronin DUSETTE Dinsdag 24 Februari 2015 om 4:29
Ronin DUSETTE
Admin

Why don't you just install WoW normally? Why do you need to launch it like that every time? 


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts