Guitar Pro 7

Informations

Créateur Messages
JR-Utily Anonymous

Attention

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

Informations

Plate-formes :
Téléchargements : 420
Wine: 3.20

Retours d'expérience

Description

Guitar Pro is a commercial software to edit guitar tablature, music score, and much more.
There is no official support of Linux for the 7.x release (2017), so here is an easy installer.

Wikipedia.

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-06-23)
# Last revision : (2019-06-23)
# Wine version used : 3.20
# Distribution used to test : Debian 9
# Author : JR-Utily
# PlayOnLinux : 4.4.12
# Script licence : GPL3
# Program licence : Retail
    
# CHANGELOG
# [JR-Utily] (2019-06-23)
#   Initial writting.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Guitar Pro 7"
COMPANY="Arobas Music"
PREFIX="GuitarPro7"
WEBSITE="https://www.guitar-pro.com"
AUTHOR="JR-Utily"

POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$WEBSITE" "$AUTHOR" "$PREFIX"

POL_SetupWindow_question "$(eval_gettext 'Do you need to go to $COMPANY website to buy and/or download $TITLE official Windows installer ?')" "$TITLE"

if [ "$APP_ANSWER" = "TRUE" ]
then
POL_Browser "$WEBSITE"
fi

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
INSTALLER="$APP_ANSWER"

POL_SetupWindow_message "$(eval_gettext 'We will now install a new wine prefix.') $(eval_gettext 'Please say Yes when asking to install wine Mono and Gecko.')" "$TITLE"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.20"
POL_Wine_InstallFonts

POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.') $(eval_gettext 'Please say no when asked to execute $TITLE at the end of installation.')" "$TITLE"
POL_Wine "$INSTALLER"

POL_Call POL_Function_FontsSmoothRGB

POL_Shortcut "GuitarPro7.exe" "$TITLE" "" "AudioVideo;Music;"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
JR-Utily Dimanche 23 Juin 2019 à 23:52
JR-Utily Anonymous

Information

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

Messages

Sorry I didn't found the way to put the script directly in the first post :(

Differences

@@ -0,0 +1,54 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-06-23)
+# Last revision : (2019-06-23)
+# Wine version used : 3.20
+# Distribution used to test : Debian 9
+# Author : JR-Utily
+# PlayOnLinux : 4.4.12
+# Script licence : GPL3
+# Program licence : Retail
+    
+# CHANGELOG
+# [JR-Utily] (2019-06-23)
+#   Initial writting.
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Guitar Pro 7"
+COMPANY="Arobas Music"
+PREFIX="GuitarPro7"
+WEBSITE="https://www.guitar-pro.com"
+AUTHOR="JR-Utily"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$WEBSITE" "$AUTHOR" "$PREFIX"
+
+POL_SetupWindow_question "$(eval_gettext 'Do you need to go to $COMPANY website to buy and/or download $TITLE official Windows installer ?')" "$TITLE"
+
+if [ "$APP_ANSWER" = "TRUE" ]
+then
+POL_Browser "$WEBSITE"
+fi
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+INSTALLER="$APP_ANSWER"
+
+POL_SetupWindow_message "$(eval_gettext 'We will now install a new wine prefix.') $(eval_gettext 'Please say Yes when asking to install wine Mono and Gecko.')" "$TITLE"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "3.20"
+POL_Wine_InstallFonts
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.') $(eval_gettext 'Please say no when asked to execute $TITLE at the end of installation.')" "$TITLE"
+POL_Wine "$INSTALLER"
+
+POL_Call POL_Function_FontsSmoothRGB
+
+POL_Shortcut "GuitarPro7.exe" "$TITLE" "" "AudioVideo;Music;"
+
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-06-23)
# Last revision : (2019-06-23)
# Wine version used : 3.20
# Distribution used to test : Debian 9
# Author : JR-Utily
# PlayOnLinux : 4.4.12
# Script licence : GPL3
# Program licence : Retail
    
# CHANGELOG
# [JR-Utily] (2019-06-23)
#   Initial writting.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Guitar Pro 7"
COMPANY="Arobas Music"
PREFIX="GuitarPro7"
WEBSITE="https://www.guitar-pro.com"
AUTHOR="JR-Utily"

POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$WEBSITE" "$AUTHOR" "$PREFIX"

POL_SetupWindow_question "$(eval_gettext 'Do you need to go to $COMPANY website to buy and/or download $TITLE official Windows installer ?')" "$TITLE"

if [ "$APP_ANSWER" = "TRUE" ]
then
POL_Browser "$WEBSITE"
fi

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
INSTALLER="$APP_ANSWER"

POL_SetupWindow_message "$(eval_gettext 'We will now install a new wine prefix.') $(eval_gettext 'Please say Yes when asking to install wine Mono and Gecko.')" "$TITLE"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.20"
POL_Wine_InstallFonts

POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.') $(eval_gettext 'Please say no when asked to execute $TITLE at the end of installation.')" "$TITLE"
POL_Wine "$INSTALLER"

POL_Call POL_Function_FontsSmoothRGB

POL_Shortcut "GuitarPro7.exe" "$TITLE" "" "AudioVideo;Music;"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Lundi 24 Juin 2019 à 13:36
> Sorry I didn't found the way to put the script directly in the first post :(

No problem. This is normal. I approve your script.

Edité par JR-Utily