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

adding an envfile or similar to change default behavior #74

Open
tcsenpai opened this issue Mar 28, 2024 · 1 comment
Open

adding an envfile or similar to change default behavior #74

tcsenpai opened this issue Mar 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@tcsenpai
Copy link

I think it would be nice to have an .env file or similar (or something to pass to umu-run by the way) that allows us to choose for example the default sniper download path and other choices. This would be useful for launchers and 3rd party tools too, providing a degree of customization that may be useful.

Right now umu_consts.py contains many of the default options as constants (indeed). With a more flexible approach, launchers can ship their runtimes too or have multiple runtimes if they need to.

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Aug 4, 2024

One of the concerns of changing the default paths of the runtime is that it would result in runtimes being in multiple places which are ~700MB in size (uncompressed). To reduce the amount of data stored in the system, I think it would require centralizing the location of runtimes and deduplicating the content in some way (e.g., libostree from Flatpak). To support it, _v2-entry-point and the run-in* files would probably need to be reimplemented as well to control the storage of the variable directory and other things.

In the end, it would sorta look like Flatpak's functionality and I'd rather not reimplement what Flatpak already does especially if such a feature won't really be useful (yet). Therefore, I think this feature is more suited to be Flatpak-specific and should be explored once we start building the umu runtime.

@R1kaB3rN R1kaB3rN added the enhancement New feature or request label Aug 4, 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
Projects
None yet
Development

No branches or pull requests

2 participants