Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 2.46 KB

File metadata and controls

52 lines (38 loc) · 2.46 KB

BlockTheSpot Installer

Official installer for a multi-purpose adblocker and skip-bypass for the Spotify for Windows (64 bit)

Please support Spotify by purchasing premium

Build status Discord

Install

  1. Download latest BlockTheSpotInstaller.exe.
  2. Close Spotify if it is running.
  3. Run BlockTheSpotInstaller.exe.
  4. Choose one action:
    • Install / Patch to install or update BlockTheSpot.
    • Uninstall / Restore to remove BlockTheSpot and restore original chrome_elf.dll when backup exists.
  5. Enable Update or reinstall Spotify before patching when you want to refresh Spotify before patching.
  6. If Launch Spotify and close installer after completion is enabled, Spotify starts and the installer closes automatically.

Development

Prerequisite (before local build)

Generate the Windows app resources object (required for walk):

go run github.com/akavel/rsrc@v0.10.2 -manifest assets/app.manifest -ico assets/blockthespot.ico -arch amd64 -o windows_app_resources_amd64.syso

Build locally (on Windows)

go build -trimpath -ldflags="-H=windowsgui -X main.installerVersion=v1.0.0" -o BlockTheSpotInstaller.exe .

Cross-build from Linux/macOS

GOOS=windows GOARCH=amd64 go build -trimpath -ldflags="-H=windowsgui -X main.installerVersion=v1.0.0" -o BlockTheSpotInstaller.exe .

If you update the icon PNG

Rebuild the .ico, then regenerate app resources:

convert assets/blockthespot.png -define icon:auto-resize=256,128,64,48,32,16 assets/blockthespot.ico
go run github.com/akavel/rsrc@v0.10.2 -manifest assets/app.manifest -ico assets/blockthespot.ico -arch amd64 -o windows_app_resources_amd64.syso