3
# Copyright (C) 2007-2010 PlayOnLinux Team
4
# Copyright (C) 2008 Pâris Quentin
6
# This program is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 2 of the License, or
9
# (at your option) any later version.
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
16
# You should have received a copy of the GNU General Public License along
17
# with this program; if not, write to the Free Software Foundation, Inc.,
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
# Permet d'ouvrir une fonction POL depuis un script Python
22
# Usage POL_Command [Raccourcis] [Commande]
23
# Example POL_Command "Internet Explorer 6" Set_OS winxp
24
[ "$PLAYONLINUX" = "" ] && exit 0
25
source "$PLAYONLINUX/lib/sources"
27
[ "$1" == "--init" ] && INIT="TRUE" && shift
29
[ "$INIT" = "TRUE" ] && POL_SetupWindow_Init
31
if [ "$1" = "--prefix" ]
34
export PREFIXNAME="$1"
35
export WINEPREFIX="$REPERTOIRE/wineprefix/$1"
37
export WINEPREFIX="$(detect_wineprefix "$1")"
41
#[ "$WINEVERSION" = "" ] || Use_WineVersion $WINEVERSION
44
if [ "$INIT" = "TRUE" ]
b'\\ No newline at end of file'