ChomikBox

Informations

Creator Message
Cycu2345 Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

The application used by chomiuj.pl to download and upload files to the server.

Aplikacja wykorzystywana przez chomiuj.pl do pobierania i wysyłania plików na serwer.

Source code

                

Contributions

Filters:

Contribute
Member Message
Cycu2345 Saturday 28 January 2017 at 20:13
Cycu2345 Anonymous

Warning

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

Differences

@@ -0,0 +1,66 @@
+#!/bin/bash
+# Date : (2017-01-28 19-45)
+# Last revision : (2017-01-28 19-45)
+# Distribution used to test : Linux Debian 8
+# Author: Cycu2345
+# Wine version used: 1.7.35
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+     
+# Variable
+TITLE="ChomikBox"
+PUBLISHER="Chomikuj.pl Przyjazdny dysk internetowy"
+PREFIX="Chomik"
+URL="http://www.chomikuj.pl"
+AUTHOR="Cycu2345"
+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 "LOCAL"
+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 "Chomikbox.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 ./Chomikbox*.lnk
+     
+# Close and Exit
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2017-01-28 19-45)
# Last revision : (2017-01-28 19-45)
# Distribution used to test : Linux Debian 8
# Author: Cycu2345
# Wine version used: 1.7.35
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
# Variable
TITLE="ChomikBox"
PUBLISHER="Chomikuj.pl Przyjazdny dysk internetowy"
PREFIX="Chomik"
URL="http://www.chomikuj.pl"
AUTHOR="Cycu2345"
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 "LOCAL"
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 "Chomikbox.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 ./Chomikbox*.lnk
     
# Close and Exit
POL_SetupWindow_Close
exit 0

Replies

Friday 10 May 2019 at 19:22
chomiuj.pl is down as of 2019-05-10 (ad website).