| liberavia  
 
             | Hi there,
 I know that my question might sound weird for some of
 you, but due (I thought) I saw what is sourced to get the POL-Framwork
 initialized, I really would like to manage this in a bash-script.
 
 The goal is to create a wineprefix with a certain wine-version just by starting a bash-script.
 
 After following source command(s) i tried to manually preset some of the variables the script seemed to expect.
 So here's what I tried so far based on the Hello World-Example in PlayOnLinux's documentation area:
 
 #!/bin/bash
 REPERTOIRE="/usr/share/playonlinux"
 PLAYONLINUX="/usr/share/playonlinux"
 POL_OS="Linux"
 POL_USER_ROOT="/home/andre/.PlayOnLinux/"
 Plinux="1"
 source "$PLAYONLINUX/lib/sources"
 
 POL_SetupWindow_Init
 
 POL_SetupWindow_message "Hello World!" "My first message"
 
 POL_SetupWindow_Close
 exit
 
 Result is:
 ramona@ramona-desktop:~/Entwicklung/playonlinux$ ./hallo.sh
 [POL_SetupWindow_Init] Message: Creating new window for pid 3594
 [POL_SetupWindow_Close] Message: Closing window for pid 3594
 ramona@ramona-desktop:~/Entwicklung/playonlinux$
 
 Nothing appeared.
 
 What is missing to get the framework run in any bash-script? Is it possible at all?
 
 Best wishes,
 
 André
 
 |