TheRandomLabs / Scoop-Spotify

A Scoop bucket for Spotify, Spicetify and related packages.
The Unlicense
178 stars 14 forks source link

Fixed BlockTheSpot install #72

Open Tripater opened 3 months ago

Tripater commented 3 months ago

The installation for BlockTheSpot scoop install blockthespot was throwing a few errors:

find_manifest : The term 'find_manifest' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:6 char:18 + $null, $bucket = find_manifest($app) + ~~~~~ + CategoryInfo : ObjectNotFound: (find_manifest:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

This was solved by updating the usage of find_manifest to Get-Manifest.

Once that was done, I discovered that blockthespot.ps1 was outdated as well, in that it tried to replace _chromeelf.dll with a modified version that does not exist anymore in the chrome_elf.zip released by BlockTheSpot, which now makes use of the injection of a different dll, namely dpapi.dll.

This simple pull request should fix both.