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

[IMPROVEMENT] Import Settings via command-line #3082

Open
3 tasks done
FlorianSuppan opened this issue Dec 18, 2024 · 2 comments
Open
3 tasks done

[IMPROVEMENT] Import Settings via command-line #3082

FlorianSuppan opened this issue Dec 18, 2024 · 2 comments
Assignees
Labels
enhancement An improvement to WingetUI ready-to-go
Milestone

Comments

@FlorianSuppan
Copy link

Please confirm these before moving forward.

  • I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
  • This improvement refers to an existing feature. If you want to suggest a new feature, please use this template.
  • This improvement is not a bug. If you want to report a bug, please use this template.

Describe the improvement

On every start of UniGetUI import the settings from a specified json-file.

Describe how this improvement could help users

This would be useful if you want to deploy (changes of) settings to multiple machines, which all have access to a shared network drive, cloud drive, ... One would just have to export the desired settings from one machine to a .json file on a network drive, which is automatically imported by all other machines at application start.

@FlorianSuppan FlorianSuppan added the enhancement An improvement to WingetUI label Dec 18, 2024
@marticliment
Copy link
Owner

Wouldn't this be better implemented with some kind of control panel, or allowing UniGetUI to subscribe to some local server that would manage settings as well as available managers and sources?

@Mchar7
Copy link

Mchar7 commented Dec 18, 2024

I would find the loading of a settings JSON as a command line switch to be useful at least. I feel like the current command line option for program bundle could be changed to require a preceding switch, and then there could be another switch for a settings file.

This would make UniGetUI more convenient for use in a portable context. (I currently need to launch UniGetUI, go to the settings view, press Import Settings, find & select the file buried amongst all the program files, and restart UniGetUI.) Perhaps there could be a default settings JSON filename, so that if that file exists in the program root it is loaded automatically unless UniGetUI is launched with the settings file argument.

@marticliment marticliment changed the title [IMPROVEMENT] Import Settings from file on every startup [IMPROVEMENT] Import Settings via command-line Dec 18, 2024
@marticliment marticliment added this to the Features milestone Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to WingetUI ready-to-go
Projects
None yet
Development

No branches or pull requests

3 participants