[playonlinux] 194/230: New upstream version 4.2.4
Bertrand Marc
bmarc at moszumanska.debian.org
Sun Jul 9 17:42:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
bmarc pushed a commit to branch master
in repository playonlinux.
commit 0c1a4d878c280b50a876db5545b86b4cffeb90c5
Author: Bertrand Marc <bmarc at debian.org>
Date: Sun Jul 9 19:25:49 2017 +0200
New upstream version 4.2.4
---
CHANGELOG.md | 5 ++
bash/bug_report | 41 +++++------
bash/manual_install | 60 +---------------
bash/run_exe | 139 +++++++++++++++++---------------------
lang/locale/fr/LC_MESSAGES/pol.mo | Bin 56000 -> 56053 bytes
lang/po/fr.po | 3 +
lib/playonlinux.lib | 1 -
python/lib/Variables.py | 2 +-
python/mainwindow.py | 40 +++++++++--
9 files changed, 125 insertions(+), 166 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 36b5e33..1d56bd6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+# 4.2.4
+* New support and feedback system, easier to use
+* Links to social networks
+* 4.2.3 regresion fixed in run_exe module
+
# 4.2.3
* Fix for Python version "2.7" (#3749)
diff --git a/bash/bug_report b/bash/bug_report
index 3302ea2..8e1e300 100755
--- a/bash/bug_report
+++ b/bash/bug_report
@@ -67,46 +67,39 @@ then
[ "$APP_ANSWER" = "$LNG_NO_JOIN" ] || LOGTITLE="$APP_ANSWER"
fi
fi
-POL_SetupWindow_textbox "$(eval_gettext "Please give a very short description (title, english only)")" "$POL_DEBUG_TITLE" "" 80
-BUGTITLE="$APP_ANSWER"
+
+
TEMPLATE="- What were you doing when the problem occurred?
- What did you expect?
- What happened instead?
- Anything else to report?
"
POL_SetupWindow_textbox_multiline "$(eval_gettext "Please explain your problem clearly (english only):")" "$POL_DEBUG_TITLE" "$TEMPLATE"
-if [ -z "$BUGTITLE" -o -z "$APP_ANSWER" -o "$APP_ANSWER" = "$TEMPLATE" ]
+if [ -z "$APP_ANSWER" -o "$APP_ANSWER" = "$TEMPLATE" ]
then
POL_SetupWindow_message "$(eval_gettext 'Sorry, we need a detailed description.')" "$TITLE"
POL_SetupWindow_Close
+ exit 0
fi
DESCRIPTION="$APP_ANSWER"
POL_Website_login
POL_Website_Init
-DESCRIPTION="$DESCRIPTION"
-BUGTITLE="$BUGTITLE"
SCRIPTTITLE="$LOGTITLE"
-POL_Website_Request "http://www.playonlinux.com/bugs/getScriptTrackerName.php?id=$SCRIPTTITLE"
-TrackerId="$(POL_Website_Result)"
-
-if [ "$TrackerId" = "0" ]; then
- POL_SetupWindow_message "Error! This script seems to be no longer existing in our database" "$TITLE"
+if [ "$LOGTITLE" = "" ]
+then
+ POL_Website_curl "http://www.playonlinux.com/api/uploadLog.php" -F message="$DESCRIPTION" -F script="$SCRIPTTITLE"
else
-
- #POL_Website_Request "http://bugs.playonlinux.com/en/new-$TRACKER.html" "priority=2&tracker=$TrackerId&title=$BUGTITLE&message=$DESCRIPTION&submit=Send&just_return_id=1"
- if [ "$LOGTITLE" = "" ]
- then
- POL_Website_curl "http://bugs.playonlinux.com/en/new-$TRACKER.html" -F priority=2 -F "tracker=$TrackerId" -F title="$BUGTITLE" -F message="$DESCRIPTION" -F submit=Send -F just_return_id=1
- else
- POL_Website_curl "http://bugs.playonlinux.com/en/new-$TRACKER.html" -F priority=2 -F "tracker=$TrackerId" -F title="$BUGTITLE" -F message="$DESCRIPTION" -F submit=Send -F just_return_id=1 -F bugfile="@$POL_USER_ROOT/logs/$LOGTITLE/$LOGTITLE.log"
- fi
- BugURL="$(POL_Website_Result)"
- POL_Website_Close
- POL_Website_logout
- POL_SetupWindow_message "$(eval_gettext "Thank you !\n\nYour report has been sent.\n\nWe will do our best to send you an answer by mail very soon")" "$TITLE"
- POL_Open "$BugURL"
+ POL_Website_curl "http://www.playonlinux.com/api/uploadLog.php" -F message="$DESCRIPTION" -F script="$SCRIPTTITLE" -F bugfile="@$POL_USER_ROOT/logs/$LOGTITLE/$LOGTITLE.log"
fi
-POL_SetupWindow_Close
+BugURL="$(POL_Website_Result)"
+
+POL_Website_Close
+POL_Website_logout
+POL_SetupWindow_message "$(eval_gettext "Thank you !\n\nYour report has been sent.")" "$TITLE"
+
+POL_Open "$BugURL"
+
+POL_SetupWindow_Close
\ No newline at end of file
diff --git a/bash/manual_install b/bash/manual_install
index 4d5e9ad..7c0a048 100755
--- a/bash/manual_install
+++ b/bash/manual_install
@@ -94,21 +94,7 @@ run_autorun()
}
-ManualInstall_ScriptInit ()
-{
- ## $SCRIPTPATH
- cat <<EOF > "$SCRIPTPATH"
-#!/bin/bash
-# Auto-generated script : $SCRIPTPATH
-# Les trucs entre { } doivent être remplacés par POL Online
-
-[ "\$PLAYONLINUX" = "" ] && exit
-source "\$PLAYONLINUX/lib/sources"
-POL_SetupWindow_Init
-POL_Debug_Init
-POL_SetupWindow_presentation "{SCRIPT_NAME}" "{SCRIPT_EDITEUR}" "{SCRIPT_URL}" "{SCRIPT_USER}" "$PREFIXNAME"
-EOF
-}
+
POL_SetupWindow_Init
POL_SetupWindow_free_presentation "$(eval_gettext 'Manual installation')" "$(eval_gettext 'Welcome to $APPLICATION_TITLE manual installation wizard.\n\nThis script will allow you to install any program on $APPLICATION and use it with all the tools\n\nWarning: We are unable to guarantee that your application will work perfectly.')"
@@ -132,31 +118,19 @@ then
[[ "$APP_ANSWER" =~ [/\ ] ]] || break
done
PREFIXNAME="$APP_ANSWER"
- SCRIPTPATH="$POL_USER_ROOT/scripts/${APP_ANSWER}_${INSTALL_NUMBER}"
- SCRIPTNAME="${APP_ANSWER}_${INSTALL_NUMBER}"
- ManualInstall_ScriptInit
- echo "POL_Wine_SelectPrefix \"$PREFIXNAME\"" >> "$SCRIPTPATH"
+
POL_Wine_SelectPrefix "$PREFIXNAME"
fi
if [ "$menu" = "$LNG_LI_PATCH" ]
then
POL_SetupWindow_prefix_selector "$(eval_gettext "Please choose a program")"
PREFIXNAME="$APP_ANSWER"
- SCRIPTPATH="$POL_USER_ROOT/scripts/${APP_ANSWER}_${INSTALL_NUMBER}"
- SCRIPTNAME="${APP_ANSWER}_${INSTALL_NUMBER}"
-
- ManualInstall_ScriptInit
- echo "POL_Wine_SelectPrefix \"$PREFIXNAME\"" >> "$SCRIPTPATH"
- echo "[ \"\$(POL_Wine_PrefixExists \"$PREFIXNAME\")\" = \"True\" ] || exit 0" >> "$SCRIPTPATH"
-
-
POL_Wine_SelectPrefix "$APP_ANSWER"
fi
if [ "$WINEPREFIX" = "" ]
then
- rm "$SCRIPTPATH"
POL_Debug_Fatal "No name chosen"
fi
@@ -188,7 +162,6 @@ then
export POL_WINEVERSION="$WINEVERSIONLIVE"
fi
POL_System_SetArch "x86"
- echo "export POL_WINEVERSION=\"$WINEVERSIONLIVE\"" >> "$SCRIPTPATH"
fi
# If system is wine64 capable, let the user choose the type of prefix
@@ -210,7 +183,6 @@ fi
if [ "$menu" = "$LNG_LI_NEW" ]
then
POL_Wine_PrefixCreate
- echo "POL_SetupWindow_prefixcreate" >> "$SCRIPTPATH"
fi
#Running WineConfiguration
@@ -239,7 +211,6 @@ then
POL_Debug_Message "POL_Call_list is calling $i"
IFS="$old"
POL_Call "$i"
- echo "POL_Call \"$i\"" >> "$SCRIPTPATH"
IFS=/
done
@@ -297,35 +268,17 @@ if [ "$CHOICE" = "MANUAL" ] || [ "$i" = "0" ]
then
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext "Please select the install file to run.")" "$TITLE"
- echo "POL_SetupWindow_browse \"\$(eval_gettext \"Please select the install file.\")\" \"\$TITLE\"" >> "$SCRIPTPATH"
SETUP_PATH="$APP_ANSWER"
- echo "SETUP_PATH=\"\$APP_ANSWER\"" >> "$SCRIPTPATH"
else
run_autorun "$CHOICE"
- cat <<ENDCDROM >> "$SCRIPTPATH"
-POL_SetupWindow_InstallMethod LOCAL,CD
-if [ "\$INSTALL_METHOD" = "CD" ]
-then
- POL_SetupWindow_cdrom
- POL_SetupWindow_check_cdrom "$SetupIs"
- SETUP_PATH="\$CDROM/$SetupIs"
-fi
-
-if [ "\$INSTALL_METHOD" = "LOCAL" ]
-then
- POL_SetupWindow_browse "\$(eval_gettext "Please select the install file.")" "\$TITLE"
- SETUP_PATH="\$APP_ANSWER"
-fi
-ENDCDROM
-
+
fi
if [ "$SETUP_PATH" = "" ]
then
- rm "$SCRIPTPATH"
POL_SetupWindow_message "$(eval_gettext "You must choose a file!")" "$TITLE"
POL_SetupWindow_Close
exit 1
@@ -333,26 +286,19 @@ fi
WORKINGSETUP_PATH="$cdromDirIs/$NameIs"
cd "$WORKINGSETUP_PATH"
POL_SetupWindow_wait "$(eval_gettext '$APPLICATION_TITLE is installing your application...')" "$TITLE"
-echo "POL_SetupWindow_wait \"\$(eval_gettext '$APPLICATION_TITLE is installing your application...')\" \"\$TITLE\"" >> "$SCRIPTPATH"
extension=$(echo "$SETUP_PATH" | $SED 's/.*\.//g')
if [ "$extension" = "msi" ]
then
POL_Wine msiexec /i "$SETUP_PATH"
-echo "POL_Wine msiexec /i \"\$SETUP_PATH\"" >> "$SCRIPTPATH"
else
POL_Wine "$SETUP_PATH"
-echo "POL_Wine \"\$SETUP_PATH\"" >> "$SCRIPTPATH"
fi
POL_Wine_WaitExit
-echo "POL_Wine_WaitExit" >> "$SCRIPTPATH"
rm "$POL_USER_ROOT/tmp/shortcuts" 2> /dev/null
POL_SetupWindow_shortcut_creator "$WINEVERSIONLIVE"
-cat "$POL_USER_ROOT/tmp/shortcuts" >> "$SCRIPTPATH"
POL_SetupWindow_Close
-echo "POL_SetupWindow_Close" >> "$SCRIPTPATH"
-echo "exit" >> "$SCRIPTPATH"
exit
diff --git a/bash/run_exe b/bash/run_exe
index 2fe6303..9b3399d 100755
--- a/bash/run_exe
+++ b/bash/run_exe
@@ -26,83 +26,59 @@ TITLE="$TITRE"
NOBUGREPORT="YES"
-install_wizard()
-{
-POL_SetupWindow_free_presentation "$TITRE" "$(eval_gettext 'Welcome to $APPLICATION_TITLE assistant.\nIt will help you to install $file on your computer.\n\nBe careful! This program is not officially supported by $APPLICATION_TITLE.\nTherefore, it might not work as expected')"
-POL_SetupWindow_textbox "$(eval_gettext 'What is the name of you program?')" "$TITRE"
-PRGM_NAME="$APP_ANSWER"
-#PRGM_NAME="Notepad++"
-PREFIX_NAME=`echo "$PRGM_NAME"| tr -c [[a-zA-Z0-9]\.] '_'`
-echo "$md5:$PREFIX_NAME" >> $md5file
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX_NAME"
-POL_Wine_PrefixCreate
-POL_SetupWindow_wait "$(eval_gettext '$APPLICATION_TITLE is installing $PRGM_NAME')" "$TITRE"
-POL_Wine "$line"
-POL_Wine_WaitExit
-POL_SetupWindow_shortcut_creator
-POL_SetupWindow_message "$(eval_gettext 'Installation finished.')" "$TITRE"
-}
-
-run_wizard()
-{
-POL_SetupWindow_wait_next_signal "$(eval_gettext '$APPLICATION_TITLE is running your program')" "$TITRE"
-PREFIX_NAME="$(cat $md5file | grep $md5 | cut -d ':' -f2)"
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX_NAME"
-sleep 2
-POL_Wine "$line" &
-sleep 2
-}
-
-
-
POL_SetupWindow_Init # Quoi qu'il arrive on ouvre la fenêtre
-
-if [ "$(POL_Config_Read FIRST_USE)" = "" ] # PlayOn* pas initialisé ? Alors on attend que ce soit fini
-then
- POL_SetupWindow_wait_next_signal "$(eval_gettext 'Waiting for the first-assistant to be finished')" "$TITRE"
- sleep 1
- #bash "$PLAYONLINUX/bash/first_use" & #### Fixme ! La ya des test à faire !
-fi
-while [ "$(POL_Config_Read FIRST_USE)" = "" ]
-do
- sleep 1
-done
-
-if [ ! "$1" = "" ] # Si on a double cliqué sur un .exe, on le prend
-then
-file=$(basename "$1")
-line="$1"
-if [ ! "${line::1}" = "/" ];
-then
- line="$WorkingDirectory/$line"
-fi
-Prefix="$(POL_Wine_GetPrefixFromPath "$line")"
-
-if [ ! "$Prefix" = "" ]
-then
- POL_Debug_Message "Running into a virtual drive : $prefix"
- POL_SetupWindow_Close # Pas besoin de toi
- dir="$(dirname "$line")"
- POL_Wine_SelectPrefix "$Prefix"
- cd "$dir"
- POL_Wine "$line"
+if [ "$POL_OS" = "Mac" ]; then
+ # PlayOnMac pas initialisé ? Alors on attend que ce soit fini
+ if [ ! -e "/Applications/Utilities/XQuartz.app" -a "$OSX_VERSION" != "11" ]; then
+ POL_SetupWindow_wait_next_signal "$(eval_gettext 'Waiting XQuartz to be installed')" "$TITRE"
+ sleep 1
+ #bash "$PLAYONLINUX/bash/first_use" & #### Fixme ! La ya des test à faire !
+ fi
+ while [ ! -e "/Applications/Utilities/XQuartz.app" -a "$OSX_VERSION" != "11" ]; do
+ sleep 1
+ done
+fi
+
+if [ ! "$1" = "" ]; then # Si on a double cliqué sur un .exe, on le prend
+ file=$(basename "$1")
+ line="$1"
+ if [ ! "${line::1}" = "/" ]; then
+ line="$WorkingDirectory/$line"
+ fi
+ Prefix="$(POL_Wine_GetPrefixFromPath "$line")"
+
+ if [ ! "$Prefix" = "" ]; then
+ POL_Debug_Message "Running into a virtual drive : $prefix"
+ POL_SetupWindow_Close # Pas besoin de toi
+ dir="$(dirname "$line")"
+ POL_Wine_SelectPrefix "$Prefix"
+ cd "$dir"
+ POL_Wine "$line"
- exit 0
-fi
+ exit 0
+ fi
else
-exit 1
+ exit 1
fi
-POL_SetupWindow_wait_next_signal "$(eval_gettext '$APPLICATION_TITLE is analysing your application')" "$APPLICATION_TITLE" # Calcul de la somme md5 pour savoir quoi faire
+
+#######################################
+# Getting the MD5 sum #
+#######################################
+
+
+POL_SetupWindow_wait_next_signal "$(eval_gettext '$APPLICATION_TITLE is analysing your application')" "$APPLICATION_TITLE"
sleep 5 #Pour être sur que le fichier md5 est bien téléchargé
md5=$(POL_MD5_file "$line")
md5file="$REPERTOIRE/configurations/md5"
md5scripts="$REPERTOIRE/configurations/listes/md5sums"
md5sreplace=$(cat $md5scripts | grep $md5 | $SED s/" $md5"/""/)
-if [ ! "$(cat $md5scripts | grep $md5)" = "" ] # Le programme est connu, on propose le bon script
-then
+#######################################
+# The program is know, use the script #
+#######################################
+if [ ! "$(cat $md5scripts | grep $md5)" = "" ]; then
POL_SetupWindow_question "$(eval_gettext "We have detected that the program you want to install is :")\n\n$md5sreplace\n\n$(eval_gettext 'Do you want $APPLICATION_TITLE to install it automatically for you?')" "$TITRE"
if [ "$APP_ANSWER" = "TRUE" ]
then
@@ -114,17 +90,28 @@ then
fi
fi
-if [ ! "$(cat $md5file | grep $md5)" = "" ] # Le programme a déjà été lancé
-then
- POL_SetupWindow_question "$(eval_gettext '$APPLICATION_TITLE has already run this program.\nDo you want to keep the old settings ?')" "$TITRE"
- if [ "$APP_ANSWER" = "TRUE" ]
- then
- run_wizard
- POL_SetupWindow_Close
- exit 0
- fi
-fi
+#######################################
+# The program is not known. #
+#######################################
+
+
+POL_SetupWindow_free_presentation "$TITRE" "$(eval_gettext 'Welcome to $APPLICATION_TITLE assistant.\nIt will help you to install $file on your computer.\n\nBe careful! This program is not officially supported by $APPLICATION_TITLE.\nTherefore, it might not work as expected')"
+POL_SetupWindow_textbox "$(eval_gettext 'What is the name of you program?')" "$TITRE"
+PRGM_NAME="$APP_ANSWER"
+
+PREFIX_NAME=`echo "$PRGM_NAME"| tr -c [[a-zA-Z0-9]\.] '_'`
+
+POL_Wine_SelectPrefix "$PREFIX_NAME"
+POL_Wine_PrefixCreate
+POL_Wine_WaitBefore "$PRGM_NAME"
+cp "$line" "$WINEPREFIX/drive_c/"
+cd "$WINEPREFIX/drive_c"
+POL_Wine "$(basename "$line")"
+POL_Wine_WaitExit "$PRGM_NAME"
+POL_SetupWindow_shortcut_creator
+POL_SetupWindow_message "$(eval_gettext 'Installation finished.')" "$TITRE"
+
+
-install_wizard # Finalement, on l'installe
POL_SetupWindow_Close
exit 0
diff --git a/lang/locale/fr/LC_MESSAGES/pol.mo b/lang/locale/fr/LC_MESSAGES/pol.mo
index 46704ec..110f8ce 100644
Binary files a/lang/locale/fr/LC_MESSAGES/pol.mo and b/lang/locale/fr/LC_MESSAGES/pol.mo differ
diff --git a/lang/po/fr.po b/lang/po/fr.po
index 9f14562..4672b81 100644
--- a/lang/po/fr.po
+++ b/lang/po/fr.po
@@ -5461,3 +5461,6 @@ msgstr "Etes vous certain de vouloir supprimer wine {0} ?"
#: python/wrapper.py:121
msgid "{0} is not able to start POL_SetupWindow_server."
msgstr ""
+
+msgid "Send a feedback"
+msgstr "Retour d'expérience"
\ No newline at end of file
diff --git a/lib/playonlinux.lib b/lib/playonlinux.lib
index 02cd095..67d7427 100755
--- a/lib/playonlinux.lib
+++ b/lib/playonlinux.lib
@@ -42,7 +42,6 @@ construire_repertoire_personnel ()
mkdir -p "$POL_USER_ROOT/configurations/reports/"
mkdir -p "$POL_USER_ROOT/tmp"
mkdir -p "$POL_USER_ROOT/logs"
- mkdir -p "$POL_USER_ROOT/scripts"
mkdir -p "$POL_USER_ROOT/ressources"
mkdir -p "$POL_USER_ROOT/icones/full_size"
mkdir -p "$POL_USER_ROOT/icones/32"
diff --git a/python/lib/Variables.py b/python/lib/Variables.py
index a18e9c3..c518e3c 100755
--- a/python/lib/Variables.py
+++ b/python/lib/Variables.py
@@ -16,7 +16,7 @@ except :
os.environ["POL_PORT"] = "0"
os.environ["PLAYONLINUX"] = os.path.realpath(os.path.realpath(__file__)+"/../../../")
os.environ["SITE"] = "http://repository.playonlinux.com"
-os.environ["VERSION"] = "4.2.3"
+os.environ["VERSION"] = "4.2.4"
os.environ["POL_ID"] = str(random.randint(1,100000000))
os.environ["WINE_SITE"] = "http://www.playonlinux.com/wine/binaries"
os.environ["GECKO_SITE"] = "http://www.playonlinux.com/wine/gecko"
diff --git a/python/mainwindow.py b/python/mainwindow.py
index e392681..58147df 100755
--- a/python/mainwindow.py
+++ b/python/mainwindow.py
@@ -294,6 +294,10 @@ class MainWindow(wx.Frame):
self.supportmenu.Append(402, _("Documentation"))
self.supportmenu.Append(403, _("Forums"))
self.supportmenu.Append(404, _("Bugs"))
+ self.supportmenu.AppendSeparator()
+ self.supportmenu.Append(405, _("Twitter"))
+ self.supportmenu.Append(406, _("Google+"))
+ self.supportmenu.Append(407, _("Facebook"))
self.help_menu = wx.Menu()
@@ -642,6 +646,25 @@ class MainWindow(wx.Frame):
if(urlId == 4):
url = urlPrefix+"/bugs.html"
+ if(urlId == 5):
+ if(os.environ["POL_OS"] == "Mac"):
+ url = "https://twitter.com/PlayOnMac"
+ else:
+ url = "https://twitter.com/PlayOnLinux"
+
+ if(urlId == 6):
+ if(os.environ["POL_OS"] == "Mac"):
+ url = "http://plus.google.com/u/0/105992880311102680198"
+ else:
+ url = "https://plus.google.com/+playonlinux"
+
+ if(urlId == 7):
+ if(os.environ["POL_OS"] == "Mac"):
+ url = "https://www.facebook.com/playonmac"
+ else:
+ url = "https://www.facebook.com/playonlinux"
+
+
playonlinux.POL_Open(url)
def iconDisplay(self, event):
@@ -750,8 +773,13 @@ class MainWindow(wx.Frame):
self.menuGaucheAddLink("pol_prgm_kill", _("Close"), i,Variables.playonlinux_env+"/resources/images/menu/media-playback-stop.png",self.RKill)
i+=1
self.menuGaucheAddLink("pol_prgm_rundebug", _("Debug"), i,Variables.playonlinux_env+"/resources/images/menu/bug.png",self.RunDebug)
- i+=1
- self.menuGaucheAddLink("pol_prgm_reportproblem", _("Report a problem"), i,Variables.playonlinux_env+"/resources/images/menu/bug.png",self.ReportProblem)
+
+ game_exec = self.GetSelectedProgram()
+ game_log = playonlinux.getLog(game_exec)
+ if(game_log):
+ i+=1
+ self.menuGaucheAddLink("pol_prgm_reportproblem", _("Send a feedback"), i,Variables.playonlinux_env+"/resources/images/menu/bug.png",self.sendfeedback)
+
i+=1
self.menuGaucheAddLink("pol_prgm_configure", _("Configure"), i,Variables.playonlinux_env+"/resources/images/menu/run.png",self.Configure)
i+=1
@@ -1013,13 +1041,11 @@ class MainWindow(wx.Frame):
playonlinux.SetDebugState(game_exec, game_prefix, True)
self.Run(self, True)
- def ReportProblem(self, event):
+ def sendfeedback(self, event):
game_exec = self.GetSelectedProgram()
- game_log = playonlinux.getLog(game_exec)
+ game_log = str(playonlinux.getLog(game_exec))
if game_log:
- new_env = os.environ
- new_env["LOGTITLE"] = game_log
- subprocess.Popen(["bash", Variables.playonlinux_env+"/bash/bug_report"], env = new_env)
+ playonlinux.POL_Open("http://www."+os.environ["POL_DNS"]+"/repository/feedback.php?script="+urllib.quote_plus(game_log))
def POLDie(self):
for pid in self.registeredPid:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/playonlinux.git
More information about the Pkg-games-commits
mailing list