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

fix: clear path if invalid AppX path is used #1960

Merged
merged 2 commits into from
Sep 29, 2022
Merged

Conversation

kyrie25
Copy link
Member

@kyrie25 kyrie25 commented Sep 28, 2022

  • Reset path if prefs_path is of AppX and invalid (which is the majority case if prefs_path issue on Windows), hopefully this solves a handful of issues like this (if not all). This should also ease up the switching process from AppX to normal version after the user reads the message mentioned below:
    Code_GLV8UpIaOJ
    Also found out that the AppX spotify_path may still exist after an uninstallation, so added an extra check to be sure.

  • Shows MS Store version warn message on backup along with the Spicetify not apply on restart solution and forces the user to respond (and hopefully read) before continuing:
    Code_dNty039Xrw

src/cmd/backup.go Show resolved Hide resolved
@kyrie25 kyrie25 requested a review from rxri September 28, 2022 13:21
Copy link
Member

@afonsojramos afonsojramos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great polish!! ✨

@afonsojramos afonsojramos merged commit 28ccdad into master Sep 29, 2022
@afonsojramos afonsojramos deleted the fix/config-path branch September 29, 2022 14:02
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

Successfully merging this pull request may close these issues.

None yet

3 participants