diff --git a/BlockTheSpot + Spicetify.bat b/BlockTheSpot + Spicetify.bat new file mode 100644 index 0000000..c4de29c --- /dev/null +++ b/BlockTheSpot + Spicetify.bat @@ -0,0 +1,6 @@ +@echo off +powershell -Command "& {iwr -useb https://raw.githubusercontent.com/spicetify/spicetify-cli/master/install.ps1 | iex}" +powershell -Command "& {iwr -useb https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/resources/install.ps1 | iex}" +powershell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/mrpond/BlockTheSpot/master/install.ps1' | Invoke-Expression}" +pause +exit /b \ No newline at end of file diff --git a/README.md b/README.md index 1efd6c6..1305a3b 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ :warning: This mod is for the [**Desktop Application**](https://www.spotify.com/download/windows/) of Spotify on Windows only and **not the Microsoft Store version**. ### Installation/Update: -* Just download and run [BlockTheSpot.bat](https://raw.githack.com/mrpond/BlockTheSpot/master/BlockTheSpot.bat) +* Just download and run [BlockTheSpot.bat](https://raw.githack.com/mrpond/BlockTheSpot/master/BlockTheSpot.bat) or @@ -47,6 +47,20 @@ or or * Reinstall Spotify +#### BlockTheSpot with Spicetify Installation/Update: + +* Just download and run [BlockTheSpot + Spicetify.bat](https://raw.githack.com/mrpond/BlockTheSpot/master/BlockTheSpot%20%2B%20Spicetify.bat) then answer the prompts when given + +### BlockTheSpot with Spicetify Uninstall: + +```powershell +spicetify restore +rmdir -r -fo $env:APPDATA\spicetify +rmdir -r -fo $env:LOCALAPPDATA\spicetify +rm -fo $env:APPDATA\spotify\dpapi.dll +rm -fo $env:APPDATA\spotify\config.ini +``` + ### Additional Notes: * Installation script automatically detects if your Spotify client version is supported, or not. If the version is not supported, you will be prompted to update your Spotify client. To enforce client update, supply an optional parameter `UpdateSpotify` to the installation script. diff --git a/src/BasicUtils/Utils.cpp b/src/BasicUtils/Utils.cpp index 5df47c3..a768cef 100644 --- a/src/BasicUtils/Utils.cpp +++ b/src/BasicUtils/Utils.cpp @@ -11,6 +11,7 @@ #pragma warning(default: 4530) #include #include +#include namespace Utils {