bloom.js not being removed if it's a broken symlink
extracting the zip when $spicePath/spicetify-bloom-main existed crashed the whole install when the unzip command tried to prompt the user if to replace files
What I did:
check if bloom.js is also a symlink
place all files in the unzipping process in a temporal location to avoid existing directory
force unzip to replace files
give unzip access to user prompt in case it asks anything else
Fixed the following "bugs":
bloom.js
not being removed if it's a broken symlink$spicePath/spicetify-bloom-main
existed crashed the whole install when the unzip command tried to prompt the user if to replace filesWhat I did:
bloom.js
is also a symlink