Guitar Pro 7

Informations

Créateur Messages
JR-Utily Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 3184
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 : see changelog
# Wine version used : 3.20
# Distribution used to test : Debian 9
# Author : JR-Utily
# PlayOnLinux : 4.2.12
# Script licence : GPL3
# Program licence : Retail
    
# CHANGELOG
# [JR-Utily] (2019-06-23)
#   Initial writting.
# [Dadu042] (2019-12-30)
#   POL_RequiredVersion "4.0.0"
#   Fix shortcut category.
 
 

[ "$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_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

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
Dadu042 Mardi 31 Décembre 2019 à 1:33
Dadu042
Modérateur

Information

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

Differences

@@ -1,16 +1,21 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-06-23)
-# Last revision : (2019-06-23)
+# Last revision : see changelog
 # Wine version used : 3.20
 # Distribution used to test : Debian 9
 # Author : JR-Utily
-# PlayOnLinux : 4.4.12
+# PlayOnLinux : 4.2.12
 # Script licence : GPL3
 # Program licence : Retail
     
 # CHANGELOG
 # [JR-Utily] (2019-06-23)
 #   Initial writting.
+# [Dadu042] (2019-12-30)
+#   POL_RequiredVersion "4.0.0"
+#   Fix shortcut category.
+ 
+ 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -26,6 +31,8 @@
  
 POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$WEBSITE" "$AUTHOR" "$PREFIX"
 
+POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 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" ]
@@ -46,7 +53,7 @@
 
 POL_Call POL_Function_FontsSmoothRGB
 
-POL_Shortcut "GuitarPro7.exe" "$TITLE" "" "AudioVideo;Music;"
+POL_Shortcut "GuitarPro7.exe" "$TITLE" "" "" "AudioVideo;Music;"
 
 POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
 

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-06-23)
# Last revision : see changelog
# Wine version used : 3.20
# Distribution used to test : Debian 9
# Author : JR-Utily
# PlayOnLinux : 4.2.12
# Script licence : GPL3
# Program licence : Retail
    
# CHANGELOG
# [JR-Utily] (2019-06-23)
#   Initial writting.
# [Dadu042] (2019-12-30)
#   POL_RequiredVersion "4.0.0"
#   Fix shortcut category.
 
 

[ "$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_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

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

JR-Utily Dimanche 23 Juin 2019 à 23:52
JR-Utily Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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