Spotify
Informations
Creator | Message |
---|---|
Quentin PÂRIS
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks0 4 DescriptionAudio streaming platform, with DRM. Note: Spotify now (2019) has a native Linux version. Source code#!/bin/bash # Date : (2009-12-09 ??-??) # Last revision : see changelog # Wine version used : 1.3.30 # Distribution used to test : N/A # Author : Dr Phil # Depend : # CHANGELOG # [SuperPlumus] (2011-12-13 18-58) # Convert POLv3 -> POLv4 # Add winhttp.dll override # [SuperPlumus] (2011-12-21 09-14) # Update md5 # [SuperPlumus] (2012-01-18 07-51) # Remove cherk md5 (reason: frequent updates) # [Dadu042] (2019-11-04 12-51) # - Wine 1.7.35 -> 3.0.3 (because POL's GUI is NOK under Ubuntu 18.04) # - Replace the download URL (because dead) "http://download.spotify.com/Spotify%20Installer.exe" -> "https://download.scdn.co/SpotifySetup.exe" # However it does not install ('Please install Spotify from a user account, not a admin account.'). I tried: Wine 2.22 -> 3.0.3 [ "$PLAYONLINUX" = "" ] && exit source "$PLAYONLINUX/lib/sources" TITLE="Spotify" PREFIX="Spotify" WORKING_WINE_VERSION="3.0.3" POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init POL_SetupWindow_SetID 386 POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX" POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Wine_InstallFonts Set_SoundDriver "alsa" POL_Wine_DirectSound "HardwareAcceleration" "Emulation" POL_Call POL_Install_winhttp POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then cd "$POL_System_TmpDir" POL_Download "https://download.scdn.co/SpotifySetup.exe" "" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "SpotifySetup.exe" POL_Wine_WaitExit "$TITLE" --allow-kill fi if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" --allow-kill fi POL_System_TmpDelete POL_Shortcut "spotify.exe" "$TITLE" POL_Shortcut_QuietDebug "$TITLE" POL_SetupWindow_Close exit |
Contributions
Filters:
ContributeMember | Message |
Dadu042 | Monday 4 November 2019 at 13:28 |
Dadu042
|
InformationThis update has been approved by the team. MessageSome updates, for the Linux users whose Linux distribution does not have a Spotify package. Differences@@ -1,5 +1,12 @@ #!/bin/bash - + +# Date : (2009-12-09 ??-??) +# Last revision : see changelog +# Wine version used : 1.3.30 +# Distribution used to test : N/A +# Author : Dr Phil +# Depend : + # CHANGELOG # [SuperPlumus] (2011-12-13 18-58) # Convert POLv3 -> POLv4 @@ -7,72 +14,70 @@ # [SuperPlumus] (2011-12-21 09-14) # Update md5 # [SuperPlumus] (2012-01-18 07-51) -# Remove cherk md5 ( reason: frequent updates) +# Remove cherk md5 (reason: frequent updates) +# [Dadu042] (2019-11-04 12-51) +# - Wine 1.7.35 -> 3.0.3 (because POL's GUI is NOK under Ubuntu 18.04) +# - Replace the download URL (because dead) "http://download.spotify.com/Spotify%20Installer.exe" -> "https://download.scdn.co/SpotifySetup.exe" +# However it does not install ('Please install Spotify from a user account, not a admin account.'). I tried: Wine 2.22 -> 3.0.3 - -# Date : (2009-12-09 ??-??) -# Last revision : (2011-12-13 18-58) -# Wine version used : 1.3.30 -# Distribution used to test : N/A -# Author : Dr Phil -# Depend : - [ "$PLAYONLINUX" = "" ] && exit source "$PLAYONLINUX/lib/sources" - + TITLE="Spotify" PREFIX="Spotify" -WORKING_WINE_VERSION="1.7.35" - +WORKING_WINE_VERSION="3.0.3" + POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init POL_SetupWindow_SetID 386 POL_Debug_Init - + POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX" - + +POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" + POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - + POL_System_TmpCreate "$PREFIX" - + POL_Wine_InstallFonts - + Set_SoundDriver "alsa" POL_Wine_DirectSound "HardwareAcceleration" "Emulation" - + POL_Call POL_Install_winhttp - + POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" - + if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then - + cd "$POL_System_TmpDir" -POL_Download "http://download.spotify.com/Spotify%20Installer.exe" "" +POL_Download "https://download.scdn.co/SpotifySetup.exe" "" POL_Wine_WaitBefore "$TITLE" --allow-kill -POL_Wine "Spotify%20Installer.exe" +POL_Wine "SpotifySetup.exe" POL_Wine_WaitExit "$TITLE" --allow-kill - + fi if [ "$INSTALL_METHOD" = "LOCAL" ] then - + cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" - + POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" --allow-kill - + fi - + POL_System_TmpDelete - + POL_Shortcut "spotify.exe" "$TITLE" POL_Shortcut_QuietDebug "$TITLE" - + POL_SetupWindow_Close exit \ No newline at end of file New source code#!/bin/bash # Date : (2009-12-09 ??-??) # Last revision : see changelog # Wine version used : 1.3.30 # Distribution used to test : N/A # Author : Dr Phil # Depend : # CHANGELOG # [SuperPlumus] (2011-12-13 18-58) # Convert POLv3 -> POLv4 # Add winhttp.dll override # [SuperPlumus] (2011-12-21 09-14) # Update md5 # [SuperPlumus] (2012-01-18 07-51) # Remove cherk md5 (reason: frequent updates) # [Dadu042] (2019-11-04 12-51) # - Wine 1.7.35 -> 3.0.3 (because POL's GUI is NOK under Ubuntu 18.04) # - Replace the download URL (because dead) "http://download.spotify.com/Spotify%20Installer.exe" -> "https://download.scdn.co/SpotifySetup.exe" # However it does not install ('Please install Spotify from a user account, not a admin account.'). I tried: Wine 2.22 -> 3.0.3 [ "$PLAYONLINUX" = "" ] && exit source "$PLAYONLINUX/lib/sources" TITLE="Spotify" PREFIX="Spotify" WORKING_WINE_VERSION="3.0.3" POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init POL_SetupWindow_SetID 386 POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX" POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Wine_InstallFonts Set_SoundDriver "alsa" POL_Wine_DirectSound "HardwareAcceleration" "Emulation" POL_Call POL_Install_winhttp POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then cd "$POL_System_TmpDir" POL_Download "https://download.scdn.co/SpotifySetup.exe" "" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "SpotifySetup.exe" POL_Wine_WaitExit "$TITLE" --allow-kill fi if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" --allow-kill fi POL_System_TmpDelete POL_Shortcut "spotify.exe" "$TITLE" POL_Shortcut_QuietDebug "$TITLE" POL_SetupWindow_Close exit Replies |
splat | Monday 28 January 2019 at 4:12 |
splat
|
MessageThe WINHTTP.dll file is still not found upon installing Spotify... See image below:
I'm usung Debian stretch. A message about this I received: https://appdb.winehq.org/objectManager.php?sClass=application&iId=8514 To install from backports, first add backports to your repos. # dpkg --add-architecture i386 Then install (or in this case, re-install) Wine # apt install \ This will install Wine 3.0.3 from backports, and should give improved
RepliesSunday 30 June 2019 at 6:51
Edited by splat |
petch | Friday 4 December 2015 at 23:12 |
petch
|
WarningThis update has not been approved yet by the team. MessageAdd POL_SetupWindow_SetID Differences@@ -26,6 +26,7 @@ POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init +POL_SetupWindow_SetID 386 POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX" New source code#!/bin/bash # CHANGELOG # [SuperPlumus] (2011-12-13 18-58) # Convert POLv3 -> POLv4 # Add winhttp.dll override # [SuperPlumus] (2011-12-21 09-14) # Update md5 # [SuperPlumus] (2012-01-18 07-51) # Remove cherk md5 ( reason: frequent updates) # Date : (2009-12-09 ??-??) # Last revision : (2011-12-13 18-58) # Wine version used : 1.3.30 # Distribution used to test : N/A # Author : Dr Phil # Depend : [ "$PLAYONLINUX" = "" ] && exit source "$PLAYONLINUX/lib/sources" TITLE="Spotify" PREFIX="Spotify" WORKING_WINE_VERSION="1.7.35" POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init POL_SetupWindow_SetID 386 POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Wine_InstallFonts Set_SoundDriver "alsa" POL_Wine_DirectSound "HardwareAcceleration" "Emulation" POL_Call POL_Install_winhttp POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then cd "$POL_System_TmpDir" POL_Download "http://download.spotify.com/Spotify%20Installer.exe" "" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "Spotify%20Installer.exe" POL_Wine_WaitExit "$TITLE" --allow-kill fi if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" --allow-kill fi POL_System_TmpDelete POL_Shortcut "spotify.exe" "$TITLE" POL_Shortcut_QuietDebug "$TITLE" POL_SetupWindow_Close exit Replies |
stuaxo | Wednesday 25 November 2015 at 13:57 |
stuaxo
|
WarningThis update has not been approved yet by the team. MessageI got it working in PlayOnLinux by removing spotify in my facebook apps. The next step was creating a new virtual drive for spotify, using wine 1.8 staging, then running the spotify installer (Miscelaneous->Run a Windows executable). After that go to General->Make a new shortcut and add the Spotify launcher.
It's useful for me, as I've done something to the region settings so can't run the native version - it doesn't seem to have been updated for a while.
I'm submitting an improvement to update the wine version, though no idea how to test it. Differences@@ -8,6 +8,8 @@ # Update md5 # [SuperPlumus] (2012-01-18 07-51) # Remove cherk md5 ( reason: frequent updates) +# [stuaxo] (2012-01-18 07-51) +# Update wine version to 1.8 staging # Date : (2009-12-09 ??-??) @@ -22,7 +24,7 @@ TITLE="Spotify" PREFIX="Spotify" -WORKING_WINE_VERSION="1.7.35" +WORKING_WINE_VERSION="1.8-rc1-staging" POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init New source code#!/bin/bash # CHANGELOG # [SuperPlumus] (2011-12-13 18-58) # Convert POLv3 -> POLv4 # Add winhttp.dll override # [SuperPlumus] (2011-12-21 09-14) # Update md5 # [SuperPlumus] (2012-01-18 07-51) # Remove cherk md5 ( reason: frequent updates) # [stuaxo] (2012-01-18 07-51) # Update wine version to 1.8 staging # Date : (2009-12-09 ??-??) # Last revision : (2011-12-13 18-58) # Wine version used : 1.3.30 # Distribution used to test : N/A # Author : Dr Phil # Depend : [ "$PLAYONLINUX" = "" ] && exit source "$PLAYONLINUX/lib/sources" TITLE="Spotify" PREFIX="Spotify" WORKING_WINE_VERSION="1.8-rc1-staging" POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Wine_InstallFonts Set_SoundDriver "alsa" POL_Wine_DirectSound "HardwareAcceleration" "Emulation" POL_Call POL_Install_winhttp POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then cd "$POL_System_TmpDir" POL_Download "http://download.spotify.com/Spotify%20Installer.exe" "" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "Spotify%20Installer.exe" POL_Wine_WaitExit "$TITLE" --allow-kill fi if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" --allow-kill fi POL_System_TmpDelete POL_Shortcut "spotify.exe" "$TITLE" POL_Shortcut_QuietDebug "$TITLE" POL_SetupWindow_Close exit Replies |
petch | Tuesday 27 October 2015 at 23:31 |
petch
|
|
Quentin PÂRIS | Saturday 25 July 2015 at 20:32 |
Quentin PÂRIS
|
WarningThis update has not been approved yet by the team. Differences@@ -49,7 +49,7 @@ then cd "$POL_System_TmpDir" -POL_Download "https://www.spotify.com/download/Spotify%20Installer.exe" "" +POL_Download "http://download.spotify.com/Spotify%20Installer.exe" "" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "Spotify%20Installer.exe" POL_Wine_WaitExit "$TITLE" --allow-kill New source code#!/bin/bash # CHANGELOG # [SuperPlumus] (2011-12-13 18-58) # Convert POLv3 -> POLv4 # Add winhttp.dll override # [SuperPlumus] (2011-12-21 09-14) # Update md5 # [SuperPlumus] (2012-01-18 07-51) # Remove cherk md5 ( reason: frequent updates) # Date : (2009-12-09 ??-??) # Last revision : (2011-12-13 18-58) # Wine version used : 1.3.30 # Distribution used to test : N/A # Author : Dr Phil # Depend : [ "$PLAYONLINUX" = "" ] && exit source "$PLAYONLINUX/lib/sources" TITLE="Spotify" PREFIX="Spotify" WORKING_WINE_VERSION="1.7.35" POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Wine_InstallFonts Set_SoundDriver "alsa" POL_Wine_DirectSound "HardwareAcceleration" "Emulation" POL_Call POL_Install_winhttp POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then cd "$POL_System_TmpDir" POL_Download "http://download.spotify.com/Spotify%20Installer.exe" "" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "Spotify%20Installer.exe" POL_Wine_WaitExit "$TITLE" --allow-kill fi if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" --allow-kill fi POL_System_TmpDelete POL_Shortcut "spotify.exe" "$TITLE" POL_Shortcut_QuietDebug "$TITLE" POL_SetupWindow_Close exit Replies |
Shayy | Saturday 25 July 2015 at 13:49 |
Shayy
|
MessageSpotify does not launch, winhttp.dll seems to be missing, even with the last script But winhttp.dll IS in system32 folder, Spotify just can't detect it. Even when I copy winhttp.dll next to Spotity's exe file it does not work PS: In the last script, Wine version is back to 1.3.30 RepliesWednesday 5 August 2015 at 14:13
Wednesday 5 August 2015 at 19:50
Monday 28 January 2019 at 3:32
|
lahtis | Saturday 16 May 2015 at 11:22 |
lahtis
|
Messagein latest Spofify installer. When im starting spotify. Spotify say "Cannot find WINHTTP.dll, please reinstall application. Program wine version is 1.7.35. And my computer spec are: ubuntu mate 32-bit. if im change wine version in settings. It is say same error.
Replies |
Quentin PÂRIS | Friday 30 January 2015 at 22:59 |
Quentin PÂRIS
|
WarningThis update has not been approved yet by the team. Differences@@ -22,7 +22,7 @@ TITLE="Spotify" PREFIX="Spotify" -WORKING_WINE_VERSION="1.3.30" +WORKING_WINE_VERSION="1.7.35" POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init New source code#!/bin/bash # CHANGELOG # [SuperPlumus] (2011-12-13 18-58) # Convert POLv3 -> POLv4 # Add winhttp.dll override # [SuperPlumus] (2011-12-21 09-14) # Update md5 # [SuperPlumus] (2012-01-18 07-51) # Remove cherk md5 ( reason: frequent updates) # Date : (2009-12-09 ??-??) # Last revision : (2011-12-13 18-58) # Wine version used : 1.3.30 # Distribution used to test : N/A # Author : Dr Phil # Depend : [ "$PLAYONLINUX" = "" ] && exit source "$PLAYONLINUX/lib/sources" TITLE="Spotify" PREFIX="Spotify" WORKING_WINE_VERSION="1.7.35" POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Wine_InstallFonts Set_SoundDriver "alsa" POL_Wine_DirectSound "HardwareAcceleration" "Emulation" POL_Call POL_Install_winhttp POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then cd "$POL_System_TmpDir" POL_Download "https://www.spotify.com/download/Spotify%20Installer.exe" "" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "Spotify%20Installer.exe" POL_Wine_WaitExit "$TITLE" --allow-kill fi if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" --allow-kill fi POL_System_TmpDelete POL_Shortcut "spotify.exe" "$TITLE" POL_Shortcut_QuietDebug "$TITLE" POL_SetupWindow_Close exit Replies |
Quentin PÂRIS | Tuesday 27 January 2015 at 21:09 |
Quentin PÂRIS
|
WarningThis update has not been approved yet by the team. Differences@@ -40,11 +40,8 @@ Set_SoundDriver "alsa" POL_Wine_DirectSound "HardwareAcceleration" "Emulation" -cd "$POL_System_TmpDir" -POL_Download "http://www.dllbank.com/zip/w/winhttp.dll.zip" "c21645f10147c3d3024b5864f4fe73be" -unzip "winhttp.dll.zip" # || POL_Debug_Fatal "unzip winhttp.dll.zip : File not found" -cp "winhttp.dll" "$WINEPREFIX/drive_c/windows/system32/winhttp.dll" -POL_Wine_OverrideDLL native winhttp +POL_Call POL_Install_winhttp + POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" New source code#!/bin/bash # CHANGELOG # [SuperPlumus] (2011-12-13 18-58) # Convert POLv3 -> POLv4 # Add winhttp.dll override # [SuperPlumus] (2011-12-21 09-14) # Update md5 # [SuperPlumus] (2012-01-18 07-51) # Remove cherk md5 ( reason: frequent updates) # Date : (2009-12-09 ??-??) # Last revision : (2011-12-13 18-58) # Wine version used : 1.3.30 # Distribution used to test : N/A # Author : Dr Phil # Depend : [ "$PLAYONLINUX" = "" ] && exit source "$PLAYONLINUX/lib/sources" TITLE="Spotify" PREFIX="Spotify" WORKING_WINE_VERSION="1.3.30" POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/spotify/left.jpg" "Spotify" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Spotify Ltd" "http://www.spotify.com/" "Dr Phil" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Wine_InstallFonts Set_SoundDriver "alsa" POL_Wine_DirectSound "HardwareAcceleration" "Emulation" POL_Call POL_Install_winhttp POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then cd "$POL_System_TmpDir" POL_Download "https://www.spotify.com/download/Spotify%20Installer.exe" "" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "Spotify%20Installer.exe" POL_Wine_WaitExit "$TITLE" --allow-kill fi if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" --allow-kill POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" --allow-kill fi POL_System_TmpDelete POL_Shortcut "spotify.exe" "$TITLE" POL_Shortcut_QuietDebug "$TITLE" POL_SetupWindow_Close exit Replies |
Tr4sK | Tuesday 27 January 2015 at 14:51 |
Tr4sK
|
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