Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ampersand in a string is causing experimental features to not be installed properly #46

Closed
4 tasks done
CrystalFyre opened this issue Jun 2, 2024 · 1 comment
Closed
4 tasks done

Comments

@CrystalFyre
Copy link

🧐 Have you fully read the README and viewed similar issues?

  • I have read the README
  • I have read the FAQ
  • I have checked previous issues, open and closed
  • I have completed all troubleshooting steps and the issue is not present on stock but returns after re-applying SpotX-Bash

Сountry of your account

Canada

What is your Spotify Plan?

Premium

Do you have Spicetify installed?

No

ℹ Computer information

- Spotify version: 1.2.8.923
- OS: Linux Mint 21.3 Cinnamon
- Shell: bash

📝 Description

  1. Ran the installer, run.sh, which in turn ran the spotx.sh bash file (With or without options or arguments)
  2. ???
  3. And you're done!
    ...

There's an unintended ampersand & in the middle of a string used for the experimental features Array, expEx. Specifically, on line 865.
Change it to the word 'and', and the script will run fine.

🖥️ Terminal Input/Output

Searching for Spotify directory...

Found Spotify Directory: /usr/share/spotify

cat: /etc/upstream-release: Is a directory
Debug: Linux Mint 21.3
Debug: x86_64 detected
Debug: APT detected
Debug: flatpak detected
Debug: Cache directory: ~/.cache/spotify

Latest supported version: 1.2.39.578
Detected Spotify version: 1.2.8.923

✔ Created backup
✔ Applied free-tier plan patches
Unquoted string "web" may clash with future reserved word at -e line 1.
String found where operator expected at -e line 1, near "web",default:\K!1}"
Unknown regexp modifier "/t" at -e line 1, near "+= "
Can't find string terminator '"' anywhere before EOF at -e line 1.
✔ Enabled experimental features
✔ Enabled new UI
✔ Finished

📸 Screenshots

image

@jetfir3 jetfir3 closed this as completed in c2d4195 Jun 3, 2024
@jetfir3
Copy link
Member

jetfir3 commented Jun 3, 2024

Sorry about that. Good catch. Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants