Universal Extractor 2

Informations

Creator Wiadmości
baltpeter Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 6602
Wine: 4.0

Feedbacks

Description

Universal Extractor 2 or Universal Extractor (Bioruebe version) as it is also called to avoid confusion is an unofficial updated and extended version of the original UniExtract by Jared Breland.

It is a program designed to decompress and extract files from any type of archive or installer, such as ZIP or RAR files, self-extracting EXE files, application installers, etc.

Source code

#!/usr/bin/env playonlinux-bash
# Date : 2019-04-13T16:11:07
# Last revision : see changelog
# Wine version used : 4.0
# Distribution used to test : Ubuntu 18.10
# Author : Benjamin Altpeter <hi@bn.al>

# CHANGELOG
# [Benjamin Altpeter] (2019-04-13)
#   First script.
# [Dadu042] (2019-12-30)
#   POL_RequiredVersion 4.3.4
#   Add POL_Shortcut category.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Universal Extractor 2"
PREFIX="UniExtract2"
WINE_VERSION="4.0"

ZIP_URL="https://github.com/Bioruebe/UniExtract2/releases/download/v2.0.0-rc.2/UniExtractRC2.zip"
MD5="4a2e33cb505b03ddb7f43276001f7810"
ZIP_NAME="UniExtractRC2.zip"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Bioruebe" "https://github.com/Bioruebe/UniExtract2" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"


POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

INSTALL_DIR="$WINEPREFIX/drive_c/UniExtract2"

mkdir -p "$INSTALL_DIR"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
    ARCHIVE="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$INSTALL_DIR"
    POL_Download "$ZIP_URL" "$MD5"
    ARCHIVE="$INSTALL_DIR/$ZIP_NAME"
fi

POL_Wine_WaitBefore "$TITLE"
echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."

POL_Shortcut "UniExtract.exe" "$TITLE" "" "" "Utility;"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Wiadmości
Dadu042 Tuesday 31 December 2019 at 1:46
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,9 +1,17 @@
 #!/usr/bin/env playonlinux-bash
 # Date : 2019-04-13T16:11:07
-# Last revision : 2019-04-13T16:11:07
+# Last revision : see changelog
 # Wine version used : 4.0
 # Distribution used to test : Ubuntu 18.10
 # Author : Benjamin Altpeter <hi@bn.al>
+
+# CHANGELOG
+# [Benjamin Altpeter] (2019-04-13)
+#   First script.
+# [Dadu042] (2019-12-30)
+#   POL_RequiredVersion 4.3.4
+#   Add POL_Shortcut category.
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
@@ -19,6 +27,10 @@
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Bioruebe" "https://github.com/Bioruebe/UniExtract2" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"
+
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
+
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
 POL_Wine_SelectPrefix "$PREFIX"
@@ -43,7 +55,7 @@
 echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
 unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."
 
-POL_Shortcut "UniExtract.exe" "$TITLE"
+POL_Shortcut "UniExtract.exe" "$TITLE" "" "" "Utility;"
 
 POL_SetupWindow_Close
-exit
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2019-04-13T16:11:07
# Last revision : see changelog
# Wine version used : 4.0
# Distribution used to test : Ubuntu 18.10
# Author : Benjamin Altpeter <hi@bn.al>

# CHANGELOG
# [Benjamin Altpeter] (2019-04-13)
#   First script.
# [Dadu042] (2019-12-30)
#   POL_RequiredVersion 4.3.4
#   Add POL_Shortcut category.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Universal Extractor 2"
PREFIX="UniExtract2"
WINE_VERSION="4.0"

ZIP_URL="https://github.com/Bioruebe/UniExtract2/releases/download/v2.0.0-rc.2/UniExtractRC2.zip"
MD5="4a2e33cb505b03ddb7f43276001f7810"
ZIP_NAME="UniExtractRC2.zip"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Bioruebe" "https://github.com/Bioruebe/UniExtract2" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"


POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

INSTALL_DIR="$WINEPREFIX/drive_c/UniExtract2"

mkdir -p "$INSTALL_DIR"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
    ARCHIVE="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$INSTALL_DIR"
    POL_Download "$ZIP_URL" "$MD5"
    ARCHIVE="$INSTALL_DIR/$ZIP_NAME"
fi

POL_Wine_WaitBefore "$TITLE"
echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."

POL_Shortcut "UniExtract.exe" "$TITLE" "" "" "Utility;"

POL_SetupWindow_Close
exit

Odpowiedzi

baltpeter Saturday 13 April 2019 at 17:00
baltpeter Anonymous

Warning

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

Differences

@@ -0,0 +1,49 @@
+#!/usr/bin/env playonlinux-bash
+# Date : 2019-04-13T16:11:07
+# Last revision : 2019-04-13T16:11:07
+# Wine version used : 4.0
+# Distribution used to test : Ubuntu 18.10
+# Author : Benjamin Altpeter <hi@bn.al>
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Universal Extractor 2"
+PREFIX="UniExtract2"
+WINE_VERSION="4.0"
+
+ZIP_URL="https://github.com/Bioruebe/UniExtract2/releases/download/v2.0.0-rc.2/UniExtractRC2.zip"
+MD5="4a2e33cb505b03ddb7f43276001f7810"
+ZIP_NAME="UniExtractRC2.zip"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Bioruebe" "https://github.com/Bioruebe/UniExtract2" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINE_VERSION"
+
+INSTALL_DIR="$WINEPREFIX/drive_c/UniExtract2"
+
+mkdir -p "$INSTALL_DIR"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
+    ARCHIVE="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$INSTALL_DIR"
+    POL_Download "$ZIP_URL" "$MD5"
+    ARCHIVE="$INSTALL_DIR/$ZIP_NAME"
+fi
+
+POL_Wine_WaitBefore "$TITLE"
+echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
+unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."
+
+POL_Shortcut "UniExtract.exe" "$TITLE"
+
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : 2019-04-13T16:11:07
# Last revision : 2019-04-13T16:11:07
# Wine version used : 4.0
# Distribution used to test : Ubuntu 18.10
# Author : Benjamin Altpeter <hi@bn.al>
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Universal Extractor 2"
PREFIX="UniExtract2"
WINE_VERSION="4.0"

ZIP_URL="https://github.com/Bioruebe/UniExtract2/releases/download/v2.0.0-rc.2/UniExtractRC2.zip"
MD5="4a2e33cb505b03ddb7f43276001f7810"
ZIP_NAME="UniExtractRC2.zip"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Bioruebe" "https://github.com/Bioruebe/UniExtract2" "Benjamin Altpeter <hi@bn.al>" "$PREFIX"
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

INSTALL_DIR="$WINEPREFIX/drive_c/UniExtract2"

mkdir -p "$INSTALL_DIR"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
    ARCHIVE="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$INSTALL_DIR"
    POL_Download "$ZIP_URL" "$MD5"
    ARCHIVE="$INSTALL_DIR/$ZIP_NAME"
fi

POL_Wine_WaitBefore "$TITLE"
echo "unzip \"$ARCHIVE\" -d \"$INSTALL_DIR\""
unzip "$ARCHIVE" -d "$INSTALL_DIR" || POL_Debug_Error "Unable to extract archive."

POL_Shortcut "UniExtract.exe" "$TITLE"

POL_SetupWindow_Close
exit

Odpowiedzi