Watchtower Library 2014
Informations
| Créateur | Messages |
|---|---|
vlad88
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience4 0 DescriptionReference and research tool for Watchtower Society publications from 1970 up to and including 2014. Code source#!/bin/bash
# Date : (2015-03-31 22-00)
# Last revision : (2015-04-02 07-37)
# Distribution used to test : Linux Mint 17
# Author: Vladislav Khomenko
# Wine version used: 1.7.35
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Variable
TITLE="Watchtower Library 2014"
PUBLISHER="Watchtower Bible and Tract Society of PA"
PREFIX="Watchtower"
URL="http://www.jw.org"
AUTHOR="Vladislav Khomenko"
DONE="FALSE"
WINEVERISON="1.7.35"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 1959
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERISON"
# Select Installation Method
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "rs_data/PUBS"
POL_Wine "$CDROM/Setup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
while [ "$DONE" = "FALSE" ]
do
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
# Verify a the Setup.exe was selected and not another .exe
if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
then
DONE="TRUE"
else
POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
fi
done
POL_Wine "$APP_ANSWER"
fi
# Wait for Installation to Exit
POL_Wine_WaitExit
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
# Create Shortcuts
POL_Shortcut "wtlibrary.exe" "$TITLE"
# Remove .lnk created on the desktop by wine installation application
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
cd "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
rm ./Watchtower*.lnk
# Close and Exit
POL_SetupWindow_Close
exit 0 |
Contributions
Filters:
Contribuer| Membre | Messages |
| .sherif_sans | Lundi 8 Janvier 2018 à 18:33 |
.sherif_sans
|
Messagesinstalled WT2015 using WT2014 script. Worked well. Update worked. Just needed to select text font in properties. Linux Mint 18.1 Réponses |
| vlad88 | Jeudi 2 Avril 2015 à 6:41 |
vlad88
|
InformationCette mise à jour a été acceptée par l'équipe MessagesFixed a bug when choosing a method of installation from a local file Differences@@ -1,12 +1,12 @@
#!/bin/bash
# Date : (2015-03-31 22-00)
-# Last revision : (2015-04-01 19-13)
+# Last revision : (2015-04-02 07-37)
# Distribution used to test : Linux Mint 17
# Author: Vladislav Khomenko
# Wine version used: 1.7.35
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
-
+
# Variable
TITLE="Watchtower Library 2014"
PUBLISHER="Watchtower Bible and Tract Society of PA"
@@ -15,28 +15,28 @@
AUTHOR="Vladislav Khomenko"
DONE="FALSE"
WINEVERISON="1.7.35"
-
+
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
-
+
# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 1959
POL_Debug_Init
-
+
# Presentation
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
-
+
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERISON"
-
+
# Select Installation Method
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "rs_data/PUBS"
- POL_Wine start /unix "$CDROM/Setup.exe"
+ POL_Wine "$CDROM/Setup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
while [ "$DONE" = "FALSE" ]
@@ -50,21 +50,22 @@
POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
fi
done
+ POL_Wine "$APP_ANSWER"
fi
-
+
# Wait for Installation to Exit
POL_Wine_WaitExit
-
+
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
-
+
# Create Shortcuts
POL_Shortcut "wtlibrary.exe" "$TITLE"
-
+
# Remove .lnk created on the desktop by wine installation application
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
cd "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
rm ./Watchtower*.lnk
-
+
# Close and Exit
POL_SetupWindow_Close
exit 0
\ No newline at end of file
Nouveau code source#!/bin/bash
# Date : (2015-03-31 22-00)
# Last revision : (2015-04-02 07-37)
# Distribution used to test : Linux Mint 17
# Author: Vladislav Khomenko
# Wine version used: 1.7.35
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Variable
TITLE="Watchtower Library 2014"
PUBLISHER="Watchtower Bible and Tract Society of PA"
PREFIX="Watchtower"
URL="http://www.jw.org"
AUTHOR="Vladislav Khomenko"
DONE="FALSE"
WINEVERISON="1.7.35"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 1959
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERISON"
# Select Installation Method
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "rs_data/PUBS"
POL_Wine "$CDROM/Setup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
while [ "$DONE" = "FALSE" ]
do
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
# Verify a the Setup.exe was selected and not another .exe
if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
then
DONE="TRUE"
else
POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
fi
done
POL_Wine "$APP_ANSWER"
fi
# Wait for Installation to Exit
POL_Wine_WaitExit
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
# Create Shortcuts
POL_Shortcut "wtlibrary.exe" "$TITLE"
# Remove .lnk created on the desktop by wine installation application
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
cd "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
rm ./Watchtower*.lnk
# Close and Exit
POL_SetupWindow_Close
exit 0 Réponses |
| vlad88 | Mercredi 1 Avril 2015 à 18:17 |
vlad88
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesI have created a header at the beginning of the script Differences@@ -0,0 +1,70 @@
+#!/bin/bash
+# Date : (2015-03-31 22-00)
+# Last revision : (2015-04-01 19-13)
+# Distribution used to test : Linux Mint 17
+# Author: Vladislav Khomenko
+# Wine version used: 1.7.35
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+# Variable
+TITLE="Watchtower Library 2014"
+PUBLISHER="Watchtower Bible and Tract Society of PA"
+PREFIX="Watchtower"
+URL="http://www.jw.org"
+AUTHOR="Vladislav Khomenko"
+DONE="FALSE"
+WINEVERISON="1.7.35"
+
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+
+# Initialization
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 1959
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERISON"
+
+# Select Installation Method
+POL_SetupWindow_InstallMethod "CD,LOCAL"
+if [ "$INSTALL_METHOD" = "CD" ]
+then
+ POL_SetupWindow_cdrom
+ POL_SetupWindow_check_cdrom "rs_data/PUBS"
+ POL_Wine start /unix "$CDROM/Setup.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+ while [ "$DONE" = "FALSE" ]
+ do
+ POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
+ # Verify a the Setup.exe was selected and not another .exe
+ if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
+ then
+ DONE="TRUE"
+ else
+ POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
+ fi
+ done
+fi
+
+# Wait for Installation to Exit
+POL_Wine_WaitExit
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
+
+# Create Shortcuts
+POL_Shortcut "wtlibrary.exe" "$TITLE"
+
+# Remove .lnk created on the desktop by wine installation application
+test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
+cd "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
+rm ./Watchtower*.lnk
+
+# Close and Exit
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file
Nouveau code source#!/bin/bash
# Date : (2015-03-31 22-00)
# Last revision : (2015-04-01 19-13)
# Distribution used to test : Linux Mint 17
# Author: Vladislav Khomenko
# Wine version used: 1.7.35
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Variable
TITLE="Watchtower Library 2014"
PUBLISHER="Watchtower Bible and Tract Society of PA"
PREFIX="Watchtower"
URL="http://www.jw.org"
AUTHOR="Vladislav Khomenko"
DONE="FALSE"
WINEVERISON="1.7.35"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 1959
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERISON"
# Select Installation Method
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "rs_data/PUBS"
POL_Wine start /unix "$CDROM/Setup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
while [ "$DONE" = "FALSE" ]
do
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
# Verify a the Setup.exe was selected and not another .exe
if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
then
DONE="TRUE"
else
POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
fi
done
fi
# Wait for Installation to Exit
POL_Wine_WaitExit
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
# Create Shortcuts
POL_Shortcut "wtlibrary.exe" "$TITLE"
# Remove .lnk created on the desktop by wine installation application
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
cd "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
rm ./Watchtower*.lnk
# Close and Exit
POL_SetupWindow_Close
exit 0 Réponses |
| vlad88 | Mercredi 1 Avril 2015 à 14:26 |
vlad88
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,64 @@
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+# Variable
+TITLE="Watchtower Library 2014"
+PUBLISHER="Watchtower Bible and Tract Society of PA"
+PREFIX="Watchtower"
+URL="http://www.jw.org"
+AUTHOR="Vladislav Khomenko"
+DONE="FALSE"
+WINEVERISON="1.7.35"
+
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+
+# Initialization
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 1959
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERISON"
+
+# Select Installation Method
+POL_SetupWindow_InstallMethod "CD,LOCAL"
+if [ "$INSTALL_METHOD" = "CD" ]
+then
+ POL_SetupWindow_cdrom
+ POL_SetupWindow_check_cdrom "rs_data/PUBS"
+ POL_Wine start /unix "$CDROM/Setup.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+ while [ "$DONE" = "FALSE" ]
+ do
+ POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
+ # Verify a the Setup.exe was selected and not another .exe
+ if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
+ then
+ DONE="TRUE"
+ else
+ POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
+ fi
+ done
+fi
+
+# Wait for Installation to Exit
+POL_Wine_WaitExit
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
+
+# Create Shortcuts
+POL_Shortcut "wtlibrary.exe" "$TITLE"
+
+# Remove .lnk created on the desktop by wine installation application
+test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
+cd "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
+rm ./Watchtower*.lnk
+
+# Close and Exit
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file
Nouveau code source[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Variable
TITLE="Watchtower Library 2014"
PUBLISHER="Watchtower Bible and Tract Society of PA"
PREFIX="Watchtower"
URL="http://www.jw.org"
AUTHOR="Vladislav Khomenko"
DONE="FALSE"
WINEVERISON="1.7.35"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 1959
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERISON"
# Select Installation Method
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "rs_data/PUBS"
POL_Wine start /unix "$CDROM/Setup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
while [ "$DONE" = "FALSE" ]
do
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
# Verify a the Setup.exe was selected and not another .exe
if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
then
DONE="TRUE"
else
POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
fi
done
fi
# Wait for Installation to Exit
POL_Wine_WaitExit
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
# Create Shortcuts
POL_Shortcut "wtlibrary.exe" "$TITLE"
# Remove .lnk created on the desktop by wine installation application
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
cd "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
rm ./Watchtower*.lnk
# Close and Exit
POL_SetupWindow_Close
exit 0 RéponsesMercredi 1 Avril 2015 à 18:00
|
| vlad88 | Mardi 31 Mars 2015 à 23:16 |
vlad88
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,64 @@
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+# Variable
+TITLE="Watchtower Library"
+PUBLISHER="Watchtower Bible and Tract Society of PA"
+PREFIX="Watchtower"
+URL="http://www.jw.org"
+AUTHOR="Vladislav Khomenko"
+DONE="FALSE"
+
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+
+# Initialization
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 1959
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "1.7.35"
+
+# Select Installation Method
+POL_SetupWindow_InstallMethod "CD,LOCAL"
+if [ "$INSTALL_METHOD" = "CD" ]
+then
+ POL_SetupWindow_cdrom
+ POL_SetupWindow_check_cdrom "rs_data/PUBS"
+ POL_Wine start /unix "$CDROM/Setup.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+ while [ "$DONE" = "FALSE" ]
+ do
+ POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
+ # Verify a the Setup.exe was selected and not another .exe
+ if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
+ then
+ DONE="TRUE"
+ else
+ POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
+ fi
+ done
+ POL_Wine start /unix "$APP_ANSWER"
+fi
+
+# Wait for Installation to Exit
+POL_Wine_WaitExit
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
+
+# Create Shortcuts
+POL_Shortcut "wtlibrary.exe" "$TITLE"
+
+# Remove .lnk created on the desktop by wine installation application
+test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
+cd "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
+rm ./Watchtower*.lnk
+
+# Close and Exit
+POL_SetupWindow_Close
+exit
\ No newline at end of file
Nouveau code source[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Variable
TITLE="Watchtower Library"
PUBLISHER="Watchtower Bible and Tract Society of PA"
PREFIX="Watchtower"
URL="http://www.jw.org"
AUTHOR="Vladislav Khomenko"
DONE="FALSE"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 1959
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.35"
# Select Installation Method
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "rs_data/PUBS"
POL_Wine start /unix "$CDROM/Setup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
while [ "$DONE" = "FALSE" ]
do
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
# Verify a the Setup.exe was selected and not another .exe
if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
then
DONE="TRUE"
else
POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
fi
done
POL_Wine start /unix "$APP_ANSWER"
fi
# Wait for Installation to Exit
POL_Wine_WaitExit
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
# Create Shortcuts
POL_Shortcut "wtlibrary.exe" "$TITLE"
# Remove .lnk created on the desktop by wine installation application
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
cd "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
rm ./Watchtower*.lnk
# Close and Exit
POL_SetupWindow_Close
exit RéponsesMercredi 1 Avril 2015 à 3:46
Mercredi 1 Avril 2015 à 14:35
|
| vlad88 | Mardi 31 Mars 2015 à 22:07 |
vlad88
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,62 @@
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+# Variable
+TITLE="Watchtower Library"
+PUBLISHER="Watchtower Bible and Tract Society of PA"
+PREFIX="Watchtower"
+URL="http://www.jw.org"
+AUTHOR="Vladislav Khomenko"
+DONE="FALSE"
+
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+
+# Initialization
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 1959
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "1.7.35"
+
+# Select Installation Method
+POL_SetupWindow_InstallMethod "CD,LOCAL"
+if [ "$INSTALL_METHOD" = "CD" ]
+then
+ POL_SetupWindow_cdrom
+ POL_SetupWindow_check_cdrom "rs_data/PUBS"
+ POL_Wine start /unix "$CDROM/Setup.exe"
+elif [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+ while [ "$DONE" = "FALSE" ]
+ do
+ POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
+ # Verify a the Setup.exe was selected and not another .exe
+ if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
+ then
+ DONE="TRUE"
+ else
+ POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
+ fi
+ done
+ POL_Wine start /unix "$APP_ANSWER"
+fi
+
+# Wait for Installation to Exit
+POL_Wine_WaitExit
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
+
+# Create Shortcuts
+POL_Shortcut "wtlibrary.exe" "$TITLE"
+
+# Remove .lnk created on the desktop by wine installation application
+rm ~/Desktop/Watchtower*.lnk
+
+# Close and Exit
+POL_SetupWindow_Close
+exit
\ No newline at end of file
Nouveau code source[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Variable
TITLE="Watchtower Library"
PUBLISHER="Watchtower Bible and Tract Society of PA"
PREFIX="Watchtower"
URL="http://www.jw.org"
AUTHOR="Vladislav Khomenko"
DONE="FALSE"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 1959
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$URL" "$AUTHOR" "$PREFIX"
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.35"
# Select Installation Method
POL_SetupWindow_InstallMethod "CD,LOCAL"
if [ "$INSTALL_METHOD" = "CD" ]
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "rs_data/PUBS"
POL_Wine start /unix "$CDROM/Setup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]
then
while [ "$DONE" = "FALSE" ]
do
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
# Verify a the Setup.exe was selected and not another .exe
if [ ${APP_ANSWER:(-9)} = "Setup.exe" ]
then
DONE="TRUE"
else
POL_SetupWindow_message "$(eval_gettext 'Setup.exe was not selected, Please select the setup file to run {Setup.exe}')" "$(eval_gettext 'File Selection Error')"
fi
done
POL_Wine start /unix "$APP_ANSWER"
fi
# Wait for Installation to Exit
POL_Wine_WaitExit
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed')" "Installation in progress"
# Create Shortcuts
POL_Shortcut "wtlibrary.exe" "$TITLE"
# Remove .lnk created on the desktop by wine installation application
rm ~/Desktop/Watchtower*.lnk
# Close and Exit
POL_SetupWindow_Close
exit 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 