Music Shake

Informations

Creator Message
agentcobra Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4009
Wine: System

Feedbacks

Description

What is Musicshake?

We are an online service offering users the opportunity to create music easily and quickly.
It is easy because you don't need ANY musical training to use Musicshake - you just need to know whether you like what you hear. It is quick because you can literally complete a track in under a minute - of course, you can spend more time perfecting and fine-tuning your songs.

Source code

#!/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:

Contribute
Member Message
agentcobra Saturday 16 January 2016 at 21:16
agentcobra Anonymous

Information

This update has been approved by the team.

Message

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

New source code

#!/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

Replies

Anonymous
Saturday 16 January 2016 at 21:20
La description provient de la page faq du site officiel http://eng.musicshake.com/faq#basic
Anonymous
Saturday 16 January 2016 at 21:20
C'est aussi le premier script que j'ai créé pour POL
Sunday 17 January 2016 at 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...

Edited by petch