Forums

need help with run script

using POL efficiently

Auteur Réponses
rablanken Mardi 24 Février 2015 à 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 Mardi 24 Février 2015 à 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 Mardi 24 Février 2015 à 4:29
Ronin DUSETTE

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

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com