-
Notifications
You must be signed in to change notification settings - Fork 49
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
Folder based profiles #322
Comments
May I know how?
Why is that so? All the profile information is stored externally so this isn't a problem. |
My point is that there can be multiple profiles in active use, e.g. I have a server and a client profile.
Say I have folder A with 2 profiles and folder B with 2 profiles, total 4 profiles, the current profile is A1. Now I want to upgrade all profiles, but ferium doesn’t know which profile in folder B it should upgrade (which profile was active last) EDIT: I just read your reply here. The plan is to let GDLauncher manage the profiles and ferium manage the mods? |
Folder based profiles have to be implemented carefully to grant benefits and avoid caching problems later. I think that the more robust way would be to depend on file system's features a little bit more than on arbitrary configuration files:
With this way the whole ferium configuration system file structure would look as follows:
In this concept, current profile and modpack are referenced by symlink at the top directory ( And the biggest benefit, imo, would be the centralization of the files. I'm not a fan of having many different directories with mods all over my system. This would enforce the structure and would make it simpler to browse — everything is in one place. And if someone wants to get rid of all the mods and ferium all together, it's as simple as purging a directory. This would also extend to other project types, for example I have also noticed, that the symlink to active profile would prevent from accidental active profile switches if someone was to manually tinker with the |
The Problem
Having to switch between profiles doesn’t go well with different mod folders. Also, upgrading all profiles at once can only be achieved when ferium knows what profile is supposed to be active in another mod folder. (#277)
Your Solution(s)
A solution would be to operate on the current folder. That way it is clear to the user on which folder ferium is operating and switching folders is not a hassle at all. While not an issue for me, a downside to this is that the user has to navigate to the mod folder.
Another option would be to have an extra stage in profile selection, where a working profile is selected, but profiles in other folders stay active. Here it would be beneficial to print the folder and profile at the beginning of commands.
The text was updated successfully, but these errors were encountered: