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

Full Portable Mode / Portable Config #47

Open
1 task done
NoPlagiarism opened this issue Oct 4, 2024 · 4 comments
Open
1 task done

Full Portable Mode / Portable Config #47

NoPlagiarism opened this issue Oct 4, 2024 · 4 comments
Labels
enhancement New feature or request windows This issue is relevant on Windows (only)

Comments

@NoPlagiarism
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the problem

Config is currently stored in AppData with no other choice

Solution

  • Program detects config folder or .portable file
  • Tries to load/create protable config + checks if there enough permissions to read/write
  • Fail => exit or fallbacks to AppData with error message

Alternatives

No response

Additional context

No response

@NoPlagiarism NoPlagiarism added the enhancement New feature or request label Oct 4, 2024
@ungive
Copy link
Owner

ungive commented Oct 4, 2024

Great idea!

What's your motivation for this feature request? Do you run Music Presence from a USB drive on multiple devices e.g.?

Some thoughts:

  • I don't think there's a thing like portable apps on Mac, like there is on Windows, so this feature would probably be Windows-only (and possibly Linux as well in the future)
  • At the moment the ZIP release launches any installed newer version of Music Presence from AppData. That could be one you installed with the installer or one that was installed from within the app or via automatic updates. So even if you double-click the exe in the extracted ZIP, if an update ever was installed (either manually or automatically), you're actually running Music Presence that's installed in AppData. A portable version would have to either disable automatic updates or install them to the portable location, without accidentally overwriting the portable settings directory. The latter would definitely require a bit of work.

Alternatives that come to mind:

  • I'm working on allowing to register a Music Presence account which will launch some time soon. One consideration would be to add settings sync across devices, but that's not as convenient as locally available portable settings.

@NoPlagiarism
Copy link
Author

What's your motivation for this feature request

  • Running on USB Drive
  • Fully Integrated Scoop Installation

add settings sync across devices

This also could mean authenticating on untrusted devices, so yeah, not so convenient

either disable automatic updates or install them to the portable location

IG, any of them should work, as long as at least update notification works

@ungive
Copy link
Owner

ungive commented Oct 4, 2024

Fully Integrated Scoop Installation

Interesting, thanks, I'll keep that in mind once I work on this.

@ungive ungive moved this to Todo in Music Presence Oct 21, 2024
@ungive
Copy link
Owner

ungive commented Oct 24, 2024

Note to self: Add option to opt out of modifying the registry (e.g. autostart), or make that the default for the portable version

@ungive ungive added the windows This issue is relevant on Windows (only) label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request windows This issue is relevant on Windows (only)
Projects
Status: Backlog
Development

No branches or pull requests

2 participants