Closed FancyChaos closed 1 year ago
Thanks, @FancyChaos, for the PR. It works like a charm on Linux, but I'm not sure if it works for macOS. I've asked some people to check it, so after that, I will merge this PR. Thanks again for this awesome feature and your time.
Just now found a script that has a choice option with curl
curl -fsSL https://raw.githubusercontent.com/NYRI4/Comfy-spicetify/main/uninstall.sh | sh
I don't want to use sh -c
as it seems to not work with macOS. You can refer to that script for choice options. If I have time, I will edit and request changes, else feel free to edit it✌️.
Just now found a script that has a choice option with curl
curl -fsSL https://raw.githubusercontent.com/NYRI4/Comfy-spicetify/main/uninstall.sh | sh
I don't want to use
sh -c
as it seems to not work with macOS. You can refer to that script for choice options. If I have time, I will edit and request changes, else feel free to edit itv.
Fixed it. Haven't realized that it is possible to just read input from the current terminal with </dev/tty. Do not know why I did not pickup that the uninstall script already does exactly that lol. Thanks for pointing it out.
lol am so dumb with these scripts, no idea what that </dev/tty
means 😂
lol am so dumb with these scripts, no idea what that
</dev/tty
means joy
But you however know how to create great themes :D I'm using this one for a bit over a week now and could not be happier :)
Hello there. Here is the PR to provide the user the option to install the online or offline version of Nord Spotify on Linux.
The install command in the README had to be changed so user input can be read. We can not read the user input from stdin anymore when executed with sh after the pipe (|).
An automatic install of the online or offline version is still possible by providing yes 1 or yes 2 to the install command (1=online, 2=offline):
Example of how the install process now looks:
I tried to keep this script as close as possible to the power shell one. Spotify will also be backed up by spicetify if not already done.
BIG DISCLAIMER Unfortunately I do now own any MacOS device and can therefore not test if all changes work for it! But given that the install script is POSIX sh it should work, but I can not guarantee it.