Вы находитесь здесь

Форум

[script] Soldat

(for the lattest version)

Автор Replies
yaps8 Thursday 11 October 2012 at 10:59
yaps8Anonymous

Hi, a script for soldat (http://soldat.thd.vg/en/) already exists but installs an old version. I wrote a new one (which also is more compliant with coding guidelines I think).
By the way I found very little information on how scripts are submitted / updated / signed (are there like maintainers for scripts, how long does it take to be reviewed / signed, etc?).
Then is there a way to include tips for configuration after installation ? (I'm thinking about how to easily setup layout, advice to use wine windowed mode, etc)

BTW here is the script :

#!/bin/bash
# Date : (2012-10-10 18-00)
# Last revision : (2012-10-10 18-00)
# Wine version used : 1.4.1
# Distribution used to test : Ubuntu 12.04 LTS x86_64
# Author : yaps8
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Soldat"
PREFIX="Soldat"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Michal Marcinkowski" "http://soldat.thd.vg/en/" "yaps8" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://static.soldat.pl/downloads/soldat163.zip"
unzip soldat163.zip

POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$POL_System_TmpDir/Soldat163.exe"
POL_Wine_WaitExit
POL_System_TmpDelete
POL_Shortcut "Soldat.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully')" "$(eval_gettext 'Installation finished')"
POL_SetupWindow_Close

exit
Quentin PÂRIS Monday 15 October 2012 at 20:10
Quentin PÂRISAnonymous

Thank you for your contribution, the script has been updated
Вы находитесь здесь: Index > Your creations. > [script] Soldat