-
Notifications
You must be signed in to change notification settings - Fork 138
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
Command Line Option For Installing From Archive #16896
Comments
For further context, here are the areas I believe would need the change primarily Command line parsing: Vortex/src/util/commandLine.ts Lines 164 to 207 in 88a7894
Implementation of install and download arguments: Lines 1100 to 1110 in ae314a5
And potentially the IParameters interface: Vortex/src/util/commandLine.ts Lines 10 to 30 in 88a7894
|
Is your feature request related to a problem? Please describe.
There's command line arguments for downloading and installing from a URL, but there's no option for installing from an archive on disk. The
--download
and--install
options both act as downloads.Describe the solution you'd like
A new argument, likely named something like
--install-archive
which skips the download aspect of the existing--install
option, only emitting the install mod event. Would likely take an absolute file path, optionally a friendly name or destination name if required.Describe alternatives you've considered
It seemed feasible to create an isolated extension to simply emit the install mod event, but the problem with that is it then requires a unique form of communication with the external app that would otherwise be supplying command line arguments. As best I could tell, the command line options were the easiest form of simple communication with the desktop app (and is also the method that the nexus site itself uses to facilitate downloads) and it seemed infeasible for vortex extensions to "add" new launch argument options, or even listen to them.
Another potential alternative, that may be slightly more expandable in the future but may also be more work intensive, is to allow vortex extensions better access to launch arguments. Including giving them access to an event to be triggered to listen for specific arguments that vortex alone doesn't handle (the app already seemingly allows unknown options, I believe this could be as simple as allowing them to emit events, but it could be far more complicated than that)
Additional context
This feature would be extremely convenient for allowing 3rd party apps to better (and, more importantly, easier) integrate with vortex, by allowing a quick and easy way to direct vortex to install a file. This is already capability vortex has, but it's not accessible through launch arguments, and I don't honestly know why that is. I can only assume it never came up before. I would make a full PR myself, but I don't have experience with electron or even typescript alone, so it's likely easier left to those with more experience in this area.
The text was updated successfully, but these errors were encountered: