Wurm Clock
Informations
| Créateur | Messages |
|---|---|
lahtis
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience1 0 DescriptionWurmClock can be used as an offline tool, i. e. when not playing Wurm Online, to keep an eye on the in-game time. It will show you at a glance if it is currently day or night before you log into the game. Code source#!/bin/bash
# Date : (2015-07-12 20:03)
# Last revision : (2015-07-22 17:35)
# Distribution used to test : Ubuntu 14.04
# Author : lahtis
# Licence : GPLv3
# Small Wurm Clock destop installer application (WURM Online game)
# PlayOnLinux: 4.2.8
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Wurm Clock"
PREFIX="WurmClock"
WORKING_WINE_VERSION="1.7.47"
EDITOR="Yaga, Hakim"
GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
AUTHOR="lahtis"
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" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# create WurmClock folder in the $PROGRAMFILES
mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/"
# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"
# Do you have downloaded the zip file?
POL_SetupWindow_question "$(eval_gettext 'Do you have downloaded the zip file?')" "$TITLE"
if [ "$APP_ANSWER" = "FALSE" ]
then
#POL_Browser "https://www.dropbox.com/s/afpg9u7p4rcw0vc/WurmClock202.ZIP"
POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
fi
# unzip zip file, zip-file has not installer. Zip-file only carry the exe-file and pdf-guides.
POL_SetupWindow_browse "$(eval_gettext 'Please select the downloaded zip file.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/"
POL_System_unzip "$APP_ANSWER"
POL_Shortcut "WurmClock.exe" "$TITLE"
POL_SetupWindow_Close
exit 0
|
Contributions
Filters:
Contribuer| Membre | Messages |
| lahtis | Mercredi 22 Juillet 2015 à 20:46 |
lahtis
|
InformationCette mise à jour a été acceptée par l'équipe Differences@@ -0,0 +1,53 @@ +#!/bin/bash +# Date : (2015-07-12 20:03) +# Last revision : (2015-07-22 17:35) +# Distribution used to test : Ubuntu 14.04 +# Author : lahtis +# Licence : GPLv3 +# Small Wurm Clock destop installer application (WURM Online game) +# PlayOnLinux: 4.2.8 + +[ -z "$PLAYONLINUX" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Wurm Clock" +PREFIX="WurmClock" +WORKING_WINE_VERSION="1.7.47" +EDITOR="Yaga, Hakim" +GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" +AUTHOR="lahtis" + +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" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x86" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +# create WurmClock folder in the $PROGRAMFILES +mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/" + +# Fix pulseaudio issue +which pulseaudio && Set_OS "winxp" + +# Do you have downloaded the zip file? +POL_SetupWindow_question "$(eval_gettext 'Do you have downloaded the zip file?')" "$TITLE" +if [ "$APP_ANSWER" = "FALSE" ] +then + #POL_Browser "https://www.dropbox.com/s/afpg9u7p4rcw0vc/WurmClock202.ZIP" + POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" +fi + +# unzip zip file, zip-file has not installer. Zip-file only carry the exe-file and pdf-guides. +POL_SetupWindow_browse "$(eval_gettext 'Please select the downloaded zip file.')" "$TITLE" + +cd "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/" +POL_System_unzip "$APP_ANSWER" + +POL_Shortcut "WurmClock.exe" "$TITLE" + +POL_SetupWindow_Close +exit 0 Nouveau code source#!/bin/bash
# Date : (2015-07-12 20:03)
# Last revision : (2015-07-22 17:35)
# Distribution used to test : Ubuntu 14.04
# Author : lahtis
# Licence : GPLv3
# Small Wurm Clock destop installer application (WURM Online game)
# PlayOnLinux: 4.2.8
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Wurm Clock"
PREFIX="WurmClock"
WORKING_WINE_VERSION="1.7.47"
EDITOR="Yaga, Hakim"
GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
AUTHOR="lahtis"
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" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# create WurmClock folder in the $PROGRAMFILES
mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/"
# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"
# Do you have downloaded the zip file?
POL_SetupWindow_question "$(eval_gettext 'Do you have downloaded the zip file?')" "$TITLE"
if [ "$APP_ANSWER" = "FALSE" ]
then
#POL_Browser "https://www.dropbox.com/s/afpg9u7p4rcw0vc/WurmClock202.ZIP"
POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
fi
# unzip zip file, zip-file has not installer. Zip-file only carry the exe-file and pdf-guides.
POL_SetupWindow_browse "$(eval_gettext 'Please select the downloaded zip file.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/"
POL_System_unzip "$APP_ANSWER"
POL_Shortcut "WurmClock.exe" "$TITLE"
POL_SetupWindow_Close
exit 0
RéponsesMercredi 22 Juillet 2015 à 20:57
Mercredi 22 Juillet 2015 à 21:03
Mercredi 22 Juillet 2015 à 21:21
Mercredi 22 Juillet 2015 à 21:22
Vendredi 24 Juillet 2015 à 16:04
Edité par petch |
| lahtis | Mercredi 22 Juillet 2015 à 19:46 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesTested source code. It is working. Could it be somewhere on the page descriptions of error messages. For example, if an error POL_System_unzip failed with error 1 or error POL_System_unzip failed with error 11 (I recall means that tmp file has not empty, there are same files). No need to wonder why this is not working. None of these has not been any mention of the wiki. Differences@@ -0,0 +1,55 @@ +#!/bin/bash +# Date : (2015-07-12 20:03) +# Last revision : (2015-07-22 17:35) +# Distribution used to test : Ubuntu 14.04 +# Author : lahtis +# Licence : GPLv3 +# Small Wurm Clock destop installer application (WURM Online game) +# PlayOnLinux: 4.2.8 + +[ -z "$PLAYONLINUX" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Wurm Clock" +PREFIX="WurmClock" +WORKING_WINE_VERSION="1.7.47" +EDITOR="Yaga, Hakim" +GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" +AUTHOR="lahtis" + +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" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x86" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +# create WurmClock folder in the $PROGRAMFILES +mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/" + +# Fix pulseaudio issue +which pulseaudio && Set_OS "winxp" + +# Do you have downloaded the zip file? +POL_SetupWindow_question "Do you have downloaded the zip file?" "Download?" +if [ "$APP_ANSWER" = "FALSE" ] +then + POL_Browser "https://www.dropbox.com/s/afpg9u7p4rcw0vc/WurmClock202.ZIP" + # POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" +fi + +# unzip zip file, zip-file has not installer. Zip-file only carry the exe-file and pdf-guides. +POL_SetupWindow_browse "Please select the downloaded zip file." $TITLE + +cd "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/" +POL_System_unzip "$APP_ANSWER" + +POL_Shortcut "WurmClock.exe" "$TITLE" +POL_Shortcut_Document "Wurm Clock help" "WurmClock.pdf" + +POL_SetupWindow_Close + +exit 0 Nouveau code source#!/bin/bash
# Date : (2015-07-12 20:03)
# Last revision : (2015-07-22 17:35)
# Distribution used to test : Ubuntu 14.04
# Author : lahtis
# Licence : GPLv3
# Small Wurm Clock destop installer application (WURM Online game)
# PlayOnLinux: 4.2.8
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Wurm Clock"
PREFIX="WurmClock"
WORKING_WINE_VERSION="1.7.47"
EDITOR="Yaga, Hakim"
GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
AUTHOR="lahtis"
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" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# create WurmClock folder in the $PROGRAMFILES
mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/"
# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"
# Do you have downloaded the zip file?
POL_SetupWindow_question "Do you have downloaded the zip file?" "Download?"
if [ "$APP_ANSWER" = "FALSE" ]
then
POL_Browser "https://www.dropbox.com/s/afpg9u7p4rcw0vc/WurmClock202.ZIP"
# POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
fi
# unzip zip file, zip-file has not installer. Zip-file only carry the exe-file and pdf-guides.
POL_SetupWindow_browse "Please select the downloaded zip file." $TITLE
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/"
POL_System_unzip "$APP_ANSWER"
POL_Shortcut "WurmClock.exe" "$TITLE"
POL_Shortcut_Document "Wurm Clock help" "WurmClock.pdf"
POL_SetupWindow_Close
exit 0
Réponses |
| lahtis | Mercredi 22 Juillet 2015 à 16:47 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesNew fixed source code. Differences@@ -0,0 +1,57 @@ +#!/bin/bash +# Date : (2015-07-12 20:03) +# Last revision : (2015-07-22 17:35) +# Distribution used to test : Ubuntu 14.04 +# Author : lahtis +# Licence : GPLv3 +# Small Wurm Clock destop installer application (WURM Online game) +# PlayOnLinux: 4.2.8 + +[ -z "$PLAYONLINUX" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Wurm Clock" +PREFIX="WurmClock" +WORKING_WINE_VERSION="1.7.47" +EDITOR="Yaga, Hakim" +GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" +AUTHOR="lahtis" + +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" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x86" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +# create WurmClock folder in the $PROGRAMFILES +mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/" + +# Fix pulseaudio issue +which pulseaudio && Set_OS "winxp" + +# Do you have downloaded the zip file? +POL_SetupWindow_question "Do you have downloaded the zip file?" "Download?" +if [ "$APP_ANSWER" = "FALSE" ] +then + POL_Browser "https://www.dropbox.com/s/afpg9u7p4rcw0vc/WurmClock202.ZIP" + # POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" +fi + +# unzip zip file, zip-file has not installer. Zip-file only carry the exe-file and pdf-guides. +POL_SetupWindow_browse "Please select the downloaded zip file." $TITLE + +localInstallerPath=$APP_ANSWER +cp localInstallerPath ./ +cd "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/" +POL_System_unzip "$APP_ANSWER" + +POL_Shortcut "WurmClock.exe" "$TITLE" +POL_Shortcut_Document "Wurm Clock help" "WurmClock.pdf" + +POL_SetupWindow_Close + +exit 0 Nouveau code source#!/bin/bash
# Date : (2015-07-12 20:03)
# Last revision : (2015-07-22 17:35)
# Distribution used to test : Ubuntu 14.04
# Author : lahtis
# Licence : GPLv3
# Small Wurm Clock destop installer application (WURM Online game)
# PlayOnLinux: 4.2.8
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Wurm Clock"
PREFIX="WurmClock"
WORKING_WINE_VERSION="1.7.47"
EDITOR="Yaga, Hakim"
GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
AUTHOR="lahtis"
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" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# create WurmClock folder in the $PROGRAMFILES
mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/"
# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"
# Do you have downloaded the zip file?
POL_SetupWindow_question "Do you have downloaded the zip file?" "Download?"
if [ "$APP_ANSWER" = "FALSE" ]
then
POL_Browser "https://www.dropbox.com/s/afpg9u7p4rcw0vc/WurmClock202.ZIP"
# POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
fi
# unzip zip file, zip-file has not installer. Zip-file only carry the exe-file and pdf-guides.
POL_SetupWindow_browse "Please select the downloaded zip file." $TITLE
localInstallerPath=$APP_ANSWER
cp localInstallerPath ./
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/"
POL_System_unzip "$APP_ANSWER"
POL_Shortcut "WurmClock.exe" "$TITLE"
POL_Shortcut_Document "Wurm Clock help" "WurmClock.pdf"
POL_SetupWindow_Close
exit 0
RéponsesMercredi 22 Juillet 2015 à 19:12
|
| lahtis | Mercredi 15 Juillet 2015 à 16:32 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Messagesexcept files moving not working. Differences@@ -0,0 +1,68 @@ +#!/bin/bash +# Date : (2015-07-12 20-03) +# Last revision : (2015-07-12 20-03) +# Distribution used to test : Ubuntu 14.04 +# Author : lahtis +# Licence : GPLv3 +# Small Wurm Clock destop installer application (WURM Online game) +# PlayOnLinux: 4.2.8 + + + +[ -z "$PLAYONLINUX" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Wurm Clock" +PREFIX="WurmClock" +WORKING_WINE_VERSION="1.7.32" +EDITOR="Yaga, Hakim" +GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" +AUTHOR="lahtis" + +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" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x86" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +# create WurmClock folder in the $PROGRAMFILES +mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/" + +# Create tmp directory for downloaded files +POL_System_TmpCreate "$PREFIX" + +# Fix pulseaudio issue +which pulseaudio && Set_OS "winxp" + +# Do you have downloaded the zip file? +POL_SetupWindow_question "Do you have downloaded the zip file?" "Download?" +if [ "$APP_ANSWER" = "FALSE" ] +then + POL_Browser "https://www.dropbox.com/s/afpg9u7p4rcw0vc/WurmClock202.ZIP" + # POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" +fi + +# unzip zip file, zip-file has not installer. Zip-file only carry the exe-file and pdf-guides. +POL_SetupWindow_browse "Please select the downloaded zip file." $TITLE +localInstallerPath=$APP_ANSWER +POL_System_TmpCreate $PREFIX +cd $POL_System_TmpDir +cp localInstallerPath ./ + +POL_System_unzip "$APP_ANSWER" + +# move all files created folder, Files MOving not working. +mv "$POL_System_TmpDir/$PREFIX/WurmClock.exe $WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/WurmClock.exe" +mv "$POL_System_TmpDir/$PREFIX/WurmClock.pdf $WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/WurmClock.pdf" + +POL_Shortcut "$TITLE" "WurmClock.exe" +POL_Shortcut_Document "$TITLE - help" "WurmClock.pdf" + +#POL_System_TmpDelete +POL_SetupWindow_Close + +exit 0 \ No newline at end of file Nouveau code source#!/bin/bash
# Date : (2015-07-12 20-03)
# Last revision : (2015-07-12 20-03)
# Distribution used to test : Ubuntu 14.04
# Author : lahtis
# Licence : GPLv3
# Small Wurm Clock destop installer application (WURM Online game)
# PlayOnLinux: 4.2.8
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Wurm Clock"
PREFIX="WurmClock"
WORKING_WINE_VERSION="1.7.32"
EDITOR="Yaga, Hakim"
GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
AUTHOR="lahtis"
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" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# create WurmClock folder in the $PROGRAMFILES
mkdir "$WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/"
# Create tmp directory for downloaded files
POL_System_TmpCreate "$PREFIX"
# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"
# Do you have downloaded the zip file?
POL_SetupWindow_question "Do you have downloaded the zip file?" "Download?"
if [ "$APP_ANSWER" = "FALSE" ]
then
POL_Browser "https://www.dropbox.com/s/afpg9u7p4rcw0vc/WurmClock202.ZIP"
# POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/"
fi
# unzip zip file, zip-file has not installer. Zip-file only carry the exe-file and pdf-guides.
POL_SetupWindow_browse "Please select the downloaded zip file." $TITLE
localInstallerPath=$APP_ANSWER
POL_System_TmpCreate $PREFIX
cd $POL_System_TmpDir
cp localInstallerPath ./
POL_System_unzip "$APP_ANSWER"
# move all files created folder, Files MOving not working.
mv "$POL_System_TmpDir/$PREFIX/WurmClock.exe $WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/WurmClock.exe"
mv "$POL_System_TmpDir/$PREFIX/WurmClock.pdf $WINEPREFIX/drive_c/$PROGRAMFILES/WurmClock/WurmClock.pdf"
POL_Shortcut "$TITLE" "WurmClock.exe"
POL_Shortcut_Document "$TITLE - help" "WurmClock.pdf"
#POL_System_TmpDelete
POL_SetupWindow_Close
exit 0 Réponses |
| lahtis | Dimanche 12 Juillet 2015 à 19:11 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesSourcecode :) Differences@@ -0,0 +1,65 @@ +#!/bin/bash +# Date : (2015-07-12 20-03) +# Last revision : (2015-07-12 20-03) +# Distribution used to test : Ubuntu 14.04 +# Author : lahtis +# Licence : GPLv3 +# Small Wurm Clock destop installer application (WURM Online game) +# PlayOnLinux: 4.2.8 + + + +[ -z "$PLAYONLINUX" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Wurm Clock" +PREFIX="WurmClock" +WORKING_WINE_VERSION="1.7.32" +EDITOR="Yaga, Hakim" +GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" +AUTHOR="lahtis" + + + +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" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x86" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +POL_System_TmpCreate "$PREFIX" + +# Fix pulseaudio issue +which pulseaudio && Set_OS "winxp" + +# open browser and download zip file. +POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" + +# Create tmp directory for downloaded files +POL_System_TmpCreate "$PREFIX" + +# select zip file +POL_SetupWindow_browse "Please select the zip file." "$TITLE" + +# unzip zip file +cd "$POL_System_TmpDir/$PREFIX" +unzip "$APP_ANSWER" +POL_SetupWindow_wait "$(eval_gettext 'Please wait while we extract $TITLE game data.')" "$TITLE" + +# create folder +mkdir "$WINEPREFIX/drive_c/Program Files/WurmClock/" + +# move correct folder +mv "$POL_System_TmpDir/WurmClock.exe" "$WINEPREFIX/drive_c/Program Files/WurmClock/WurmClock.exe" +mv "$POL_System_TmpDir/WurmClock.pdf" "$WINEPREFIX/drive_c/Program Files/WurmClock/WurmClock.pdf" + +POL_Shortcut 'WurmClock.exe' "$TITLE" + +POL_System_TmpDelete +POL_SetupWindow_Close + +exit 0 \ No newline at end of file Nouveau code source#!/bin/bash # Date : (2015-07-12 20-03) # Last revision : (2015-07-12 20-03) # Distribution used to test : Ubuntu 14.04 # Author : lahtis # Licence : GPLv3 # Small Wurm Clock destop installer application (WURM Online game) # PlayOnLinux: 4.2.8 [ -z "$PLAYONLINUX" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Wurm Clock" PREFIX="WurmClock" WORKING_WINE_VERSION="1.7.32" EDITOR="Yaga, Hakim" GAME_URL="http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" AUTHOR="lahtis" 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" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" # Fix pulseaudio issue which pulseaudio && Set_OS "winxp" # open browser and download zip file. POL_Browser "http://forum.wurmonline.com/index.php?/topic/61451-wurmclock-desktop-app-showing-current-wurm-time-and-date/" # Create tmp directory for downloaded files POL_System_TmpCreate "$PREFIX" # select zip file POL_SetupWindow_browse "Please select the zip file." "$TITLE" # unzip zip file cd "$POL_System_TmpDir/$PREFIX" unzip "$APP_ANSWER" POL_SetupWindow_wait "$(eval_gettext 'Please wait while we extract $TITLE game data.')" "$TITLE" # create folder mkdir "$WINEPREFIX/drive_c/Program Files/WurmClock/" # move correct folder mv "$POL_System_TmpDir/WurmClock.exe" "$WINEPREFIX/drive_c/Program Files/WurmClock/WurmClock.exe" mv "$POL_System_TmpDir/WurmClock.pdf" "$WINEPREFIX/drive_c/Program Files/WurmClock/WurmClock.pdf" POL_Shortcut 'WurmClock.exe' "$TITLE" POL_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com
Installer ce programme 