You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a script that calls ferium and portablemc in order to automatically sync the Minecraft version to my server's, then update Fabric and mods before launching the game and connecting to the server. Ideally I would like to do so without modifying the active ferium profile. Currently, the only way to do this I can think of is:
Parse the output of ferium profile to remember the previously active profile
Use ferium switch to switch to the profile for playing on the server
Run ferium profile configure --game-version to ensure the Minecraft version is correct
Run ferium upgrade to ensure mods are up to date
Run ferium profile switch to restore the previously active profile
Your Solution(s)
It would be nice to have a --profile option that overrides the active profile for the scope of this command only. This would allow the workflow above to be reduced to:
There is a related issue #163, but that has a much wider scope than this one. This is technically a duplicate of that, but since this feature is much easier to implement, I'll leave this open and prioritise this.
Also thank you for pointing out portablemc! I've always wanted a CLI Minecraft launcher, it seems like my dream come true. Plus it's being rewritten in Rust!!
The Problem
I'm writing a script that calls ferium and portablemc in order to automatically sync the Minecraft version to my server's, then update Fabric and mods before launching the game and connecting to the server. Ideally I would like to do so without modifying the active ferium profile. Currently, the only way to do this I can think of is:
ferium profile
to remember the previously active profileferium switch
to switch to the profile for playing on the serverferium profile configure --game-version
to ensure the Minecraft version is correctferium upgrade
to ensure mods are up to dateferium profile switch
to restore the previously active profileYour Solution(s)
It would be nice to have a
--profile
option that overrides the active profile for the scope of this command only. This would allow the workflow above to be reduced to:ferium --profile=foo profile configure --game-version
ferium --profile=foo upgrade
The text was updated successfully, but these errors were encountered: