Poker Stars EU

Informations

Creator Message
uliroth92 Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

This script is based on the other PokerStars Script but this one will install the EU version, and not the NET version...

 

#!/bin/bash
# Date : (2013-02-22)
# Last revision : (2016-04-05 00:16)
# Author : lahtis, modified for EU version: uliroth92
# PlayOnLinux: 4.1.1
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Poker Stars EU"
WINEVERSION="1.7.47"
EDITOR="PokerStars"
EDITOR_URL="http://www.pokerstars.eu/"
PREFIX="PokerStarsEU"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "lahtis" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Create tmp directory for downloaded files
POL_System_TmpCreate "PokerStarsTmp"
 
# Moving tmp directory
cd "$POL_System_TmpDir"
 
# Download file
POL_Download "https://www.pokerstars.eu/PokerStarsInstallEU.exe"
 
# Select setup file
SETUP="$POL_System_TmpDir/PokerStarsInstallEU.exe"
 
# Install file && check install errors
POL_Wine "$SETUP" || POL_Debug_Fatal "$(eval_gettext 'Error while installing. Downloaded file not found.')"
 
# Delete tmp directory
POL_System_TmpDelete
 
# Create shortcut
POL_Shortcut "PokerStars.exe" "$TITLE" "$TITLE.png"
 
# Wait is patch is installed
POL_Wine_WaitExit "$TITLE"
 
POL_SetupWindow_Close
exit 0

Source code

                

Contributions

Filters:

Contribute
Member Message
uliroth92 Saturday 5 March 2016 at 15:24
uliroth92 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,49 @@
+#!/bin/bash
+# Date : (2013-02-22)
+# Last revision : (2016-04-05 00:16)
+# Author : lahtis, modified for EU version: uliroth92
+# PlayOnLinux: 4.1.1
+  
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Poker Stars EU"
+WINEVERSION="1.7.47"
+EDITOR="PokerStars"
+EDITOR_URL="http://www.pokerstars.eu/"
+PREFIX="PokerStarsEU"
+  
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "lahtis" "$PREFIX"
+  
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+  
+# Create tmp directory for downloaded files
+POL_System_TmpCreate "PokerStarsTmp"
+  
+# Moving tmp directory
+cd "$POL_System_TmpDir"
+  
+# Download file
+POL_Download "https://www.pokerstars.eu/PokerStarsInstallEU.exe"
+  
+# Select setup file
+SETUP="$POL_System_TmpDir/PokerStarsInstallEU.exe"
+  
+# Install file && check install errors
+POL_Wine "$SETUP" || POL_Debug_Fatal "$(eval_gettext 'Error while installing. Downloaded file not found.')"
+  
+# Delete tmp directory
+POL_System_TmpDelete
+  
+# Create shortcut
+POL_Shortcut "PokerStars.exe" "$TITLE" "$TITLE.png"
+  
+# Wait is patch is installed
+POL_Wine_WaitExit "$TITLE"
+  
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2013-02-22)
# Last revision : (2016-04-05 00:16)
# Author : lahtis, modified for EU version: uliroth92
# PlayOnLinux: 4.1.1
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Poker Stars EU"
WINEVERSION="1.7.47"
EDITOR="PokerStars"
EDITOR_URL="http://www.pokerstars.eu/"
PREFIX="PokerStarsEU"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "lahtis" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
  
# Create tmp directory for downloaded files
POL_System_TmpCreate "PokerStarsTmp"
  
# Moving tmp directory
cd "$POL_System_TmpDir"
  
# Download file
POL_Download "https://www.pokerstars.eu/PokerStarsInstallEU.exe"
  
# Select setup file
SETUP="$POL_System_TmpDir/PokerStarsInstallEU.exe"
  
# Install file && check install errors
POL_Wine "$SETUP" || POL_Debug_Fatal "$(eval_gettext 'Error while installing. Downloaded file not found.')"
  
# Delete tmp directory
POL_System_TmpDelete
  
# Create shortcut
POL_Shortcut "PokerStars.exe" "$TITLE" "$TITLE.png"
  
# Wait is patch is installed
POL_Wine_WaitExit "$TITLE"
  
POL_SetupWindow_Close
exit 0

Replies