Music Shake

Informations

Créateur Messages
agentcobra Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 8080
Wine: System

Retours d'expérience

Description

Online service offering users the opportunity to create music easily and quickly.

Website. Wikipedia.

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-10-07 18-00)
# Last revision : (2015-10-07 19-05)
# Wine version used :
# Distribution used to test : Ubuntu 15.04 (vivid)
# Author : agentcobra
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Music Shake"
PREFIX="MusicShake"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2709
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "" "http://musicshake.com/" "agentcobra" "$PREFIX"
POL_System_TmpCreate "MusicShake"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://pump.musicshake.com/NewDownload/MusicShakeSetup.exe" "4b853f5ed00eca1d5644c14466491e31"
        INSTALLER="$POL_System_TmpDir/MusicShakeSetup.exe"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
Set_OS "win7"

POL_Call POL_Install_Flashplayer_ActiveX

POL_SetupWindow_wait "$(eval_gettext 'Please wait')" "$TITLE - $(eval_gettext 'Installation in progress')"
POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_Shortcut "MusicShake.exe" "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
agentcobra Samedi 16 Janvier 2016 à 21:16
agentcobra Anonymous

Information

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

Messages

Je l'ai créé et testé. Cela fonctionne chez moi.

Differences

@@ -0,0 +1,48 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-10-07 18-00)
+# Last revision : (2015-10-07 19-05)
+# Wine version used :
+# Distribution used to test : Ubuntu 15.04 (vivid)
+# Author : agentcobra
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Music Shake"
+PREFIX="MusicShake"
+
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2709
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "" "http://musicshake.com/" "agentcobra" "$PREFIX"
+POL_System_TmpCreate "MusicShake"
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+	POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+	INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+	cd "$POL_System_TmpDir"
+	POL_Download "http://pump.musicshake.com/NewDownload/MusicShakeSetup.exe" "4b853f5ed00eca1d5644c14466491e31"
+	INSTALLER="$POL_System_TmpDir/MusicShakeSetup.exe"
+fi
+
+POL_System_SetArch "x86"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+Set_OS "win7"
+
+POL_Call POL_Install_Flashplayer_ActiveX
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait')" "$TITLE - $(eval_gettext 'Installation in progress')"
+POL_Wine "$INSTALLER"
+POL_Wine_WaitExit "$TITLE"
+
+POL_System_TmpDelete
+
+POL_Shortcut "MusicShake.exe" "$TITLE"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-10-07 18-00)
# Last revision : (2015-10-07 19-05)
# Wine version used :
# Distribution used to test : Ubuntu 15.04 (vivid)
# Author : agentcobra
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Music Shake"
PREFIX="MusicShake"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2709
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "" "http://musicshake.com/" "agentcobra" "$PREFIX"
POL_System_TmpCreate "MusicShake"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
        INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "http://pump.musicshake.com/NewDownload/MusicShakeSetup.exe" "4b853f5ed00eca1d5644c14466491e31"
        INSTALLER="$POL_System_TmpDir/MusicShakeSetup.exe"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
Set_OS "win7"

POL_Call POL_Install_Flashplayer_ActiveX

POL_SetupWindow_wait "$(eval_gettext 'Please wait')" "$TITLE - $(eval_gettext 'Installation in progress')"
POL_Wine "$INSTALLER"
POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_Shortcut "MusicShake.exe" "$TITLE"

POL_SetupWindow_Close
exit

Réponses

Anonymous
Samedi 16 Janvier 2016 à 21:20
La description provient de la page faq du site officiel http://eng.musicshake.com/faq#basic
Anonymous
Samedi 16 Janvier 2016 à 21:20
C'est aussi le premier script que j'ai créé pour POL
Dimanche 17 Janvier 2016 à 8:29
Salut, j'ai modifié le nom du script dans la base qui doit correspondre exactement à $TITLE, retiré le flag "No-CD" qui n'a pas de sens pour un programme téléchargeable, ajouté POL_SetupWindow_SetID; Mais surtout remplacé l'instruction POL_SetOs qui n'existe pas par Set_OS, j'espère que ça ne casse rien (POL_SetOs ne faisait rien).
Dernière modification possible, remplacer POL_SetupWindow_wait ligne 39 par POL_Wine_WaitBefore "$TITLE", ce qui affiche un message d'attente standard et enlève un texte traduit au script...

Edité par petch

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com