Pithaya / spicetify-apps

Spicetify extensions and custom apps.
54 stars 7 forks source link

[extended-copy] Uri won't work in upcomming CLI release #1

Closed Tetrax-10 closed 1 year ago

Tetrax-10 commented 1 year ago

As spotify has totally changed the URI methods getBase62Id() wont be available here after. So fix your ext in adavance This is the patch I made to overcome this issue with backwards compatibility for spicetify/spicetify-cli@93893021694d441a22f9dbf01dc91ae50ae14458

Tetrax-10 commented 1 year ago

Your extension wont work for users below 1.2.4

You should provide backwards compatibility

uri._base62Id ?? uri.id;
Pithaya commented 1 year ago

Since Spotify auto updates, is it still necessary if v1.2.4 is already out ?

Tetrax-10 commented 1 year ago

Linux users latest version is v1.1.89. Most people turn off auto update so spicetify wont go off. Its just one line to fix.

Pithaya commented 1 year ago

Oh I see, thanks. I'll change it.