gmapTool

Informations

Créateur Messages
DUBÈS Gérard Anonymous

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 213
Wine: 7.22

Retours d'expérience

Description

GMapTool - program for splitting and merging maps in Garmin format. Web site.

GMapTool : programme de fractionnement et de fusion de cartes au format Garmin.

Code source

#!/usr/bin/env PlayOnLinux-Bash
# Information
# Date: 2023-11-13
# Last revision: 2023-11-13
# Wine Version: 7.22
# OS: Linux Mint 21.2 x86_64 
# Author: GuerreroAzul
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Retail

# Running the Scripts
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
POL_Debug_Init
 
# Variable
TITLE="GMapTool"
PREFIX="gmaptool"
POLVERSION="4.3.4"
WINEVERSION="7.22"
OSVERSION="win7"
ARCHITECTURE="x86"
COMPANY="Garmin"
SITEWEB="https://www.gmaptool.eu/en/content/gmaptool"
AUTHOR="GuerreroAzul"
DOWNLOAD_URL="https://www.gmaptool.eu/en/system/files/gmaptoolsetup0973.exe"
MD5_CHECKSUM="1c42696f2f925b9b015d8135646834e8"
SETUP="gmaptoolsetup0973.exe"
 
#Presentation
POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE"
 
# POL Validations
POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!"
 
#Linux Validations
if [ "$POL_OS" = "Linux" ]; then
    wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!"
fi
 
#Mac Validations
if [ "$POL_OS" = "Mac" ]; then
    POL_Call POL_GetTool_samba3
    source "$POL_USER_ROOT/tools/samba3/init"
fi
 
#wine Setup And Installation
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "$OS"
POL_System_SetArch "$ARQUITECTURE"
 
#Luna Theme
POL_Call POL_Install_LunaTheme
 
# Installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
# Local Installation
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
# Web Installation
else
    DOWNLOAD_URL=$DOWNLOAD_URL
    MD5_CHECKSUM="$MD5_CHECKSUM"

    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"

    POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/$SETUP"
fi

#Installation started
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "GMapTool.exe" "GMapTool"

#End installation
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
GuerreroAzul Lundi 13 Novembre 2023 à 21:07
GuerreroAzul

Information

Cette mise à jour a été acceptée par l'équipe

Messages

Differences

@@ -0,0 +1,86 @@
+#!/usr/bin/env PlayOnLinux-Bash
+# Information
+# Date: 2023-11-13
+# Last revision: 2023-11-13
+# Wine Version: 7.22
+# OS: Linux Mint 21.2 x86_64 
+# Author: GuerreroAzul
+# PlayOnLinux : 4.3.4
+# Script licence : GPL3
+# Program licence : Retail
+
+# Running the Scripts
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+# Variable
+TITLE="GMapTool"
+PREFIX="gmaptool"
+POLVERSION="4.3.4"
+WINEVERSION="7.22"
+OSVERSION="win7"
+ARCHITECTURE="x86"
+COMPANY="Garmin"
+SITEWEB="https://www.gmaptool.eu/en/content/gmaptool"
+AUTHOR="GuerreroAzul"
+DOWNLOAD_URL="https://www.gmaptool.eu/en/system/files/gmaptoolsetup0973.exe"
+MD5_CHECKSUM="1c42696f2f925b9b015d8135646834e8"
+SETUP="gmaptoolsetup0973.exe"
+ 
+#Presentation
+POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE"
+ 
+# POL Validations
+POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!"
+ 
+#Linux Validations
+if [ "$POL_OS" = "Linux" ]; then
+    wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!"
+fi
+ 
+#Mac Validations
+if [ "$POL_OS" = "Mac" ]; then
+    POL_Call POL_GetTool_samba3
+    source "$POL_USER_ROOT/tools/samba3/init"
+fi
+ 
+#wine Setup And Installation
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+Set_OS "$OS"
+POL_System_SetArch "$ARQUITECTURE"
+ 
+#Luna Theme
+POL_Call POL_Install_LunaTheme
+ 
+# Installation
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+# Local Installation
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+# Web Installation
+else
+    DOWNLOAD_URL=$DOWNLOAD_URL
+    MD5_CHECKSUM="$MD5_CHECKSUM"
+
+    POL_System_TmpCreate "$PREFIX"
+    cd "$POL_System_TmpDir"
+
+    POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
+    INSTALLER="$POL_System_TmpDir/$SETUP"
+fi
+
+#Installation started
+POL_Wine start /unix "$INSTALLER"
+POL_Wine_WaitExit "$INSTALLER"
+
+POL_Shortcut "GMapTool.exe" "GMapTool"
+
+#End installation
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env PlayOnLinux-Bash
# Information
# Date: 2023-11-13
# Last revision: 2023-11-13
# Wine Version: 7.22
# OS: Linux Mint 21.2 x86_64 
# Author: GuerreroAzul
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Retail

# Running the Scripts
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
POL_Debug_Init
 
# Variable
TITLE="GMapTool"
PREFIX="gmaptool"
POLVERSION="4.3.4"
WINEVERSION="7.22"
OSVERSION="win7"
ARCHITECTURE="x86"
COMPANY="Garmin"
SITEWEB="https://www.gmaptool.eu/en/content/gmaptool"
AUTHOR="GuerreroAzul"
DOWNLOAD_URL="https://www.gmaptool.eu/en/system/files/gmaptoolsetup0973.exe"
MD5_CHECKSUM="1c42696f2f925b9b015d8135646834e8"
SETUP="gmaptoolsetup0973.exe"
 
#Presentation
POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE"
 
# POL Validations
POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!"
 
#Linux Validations
if [ "$POL_OS" = "Linux" ]; then
    wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!"
fi
 
#Mac Validations
if [ "$POL_OS" = "Mac" ]; then
    POL_Call POL_GetTool_samba3
    source "$POL_USER_ROOT/tools/samba3/init"
fi
 
#wine Setup And Installation
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "$OS"
POL_System_SetArch "$ARQUITECTURE"
 
#Luna Theme
POL_Call POL_Install_LunaTheme
 
# Installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
# Local Installation
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
# Web Installation
else
    DOWNLOAD_URL=$DOWNLOAD_URL
    MD5_CHECKSUM="$MD5_CHECKSUM"

    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"

    POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/$SETUP"
fi

#Installation started
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "GMapTool.exe" "GMapTool"

#End installation
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Lundi 8 Janvier 2024 à 13:45
script approved.