summaryrefslogtreecommitdiff
path: root/src/commandline.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Download command: Add game instance check (#2388)Jeremy Rimpo2026-05-041-2/+9
| | | | | * Add game instance check - Should be ignored if not passed to command - Functions much like NXM game check
* Extended MODL / direct download handling (#2384)Jeremy Rimpo2026-05-031-1/+30
| | | | | | | * Extended MODL / direct download handling - name, modname, version, and source options added to download command - nxmhandler init adds schemas and MODL entry with default launch args - Add MODL register button to general tab - On window display, call meta function to trigger both registrations
* Make command-line arguments -i "" launch the portable instance (#2341)Jonathan Feenstra2026-04-271-5/+19
|
* Download files from direct URLs via a command line parameter (#1873)Eddoursul2023-09-181-2/+48
| | | | * Download files via a command line parameter * Use a GET parameter to predetermine Content-Disposition header in S3-compatible temporary URLs
* Apply clang-format.Mikaël Capelle2023-07-091-211/+132
|
* - renamed instance::name() to displayName() to reduce confusion with ↵isanae2021-02-121-6/+5
| | | | | | | portable instances - better errors when running incorrect shortcuts - fixed shortcuts being created with moshortcut://Portable:exe instead of an empty instance name for portable instances
* Implementation --pick argument.Mikaël Capelle2021-01-281-0/+8
|
* moved criticalOnTop() to uibaseisanae2021-01-181-4/+3
| | | | | | changed all calls to reportError(), which now uses the main window if it exists as a parent, or calls criticalOnTop() added errors when running something from the command line for a different instance/profile removed unused crap
* renamed Refresh to TriggerRefresh, added WaitForRefreshisanae2021-01-181-17/+83
| | | | | | | | removed duplicate refreshDirectoryStructure() call that could never work added --logs to output logs to stdout, added final "mod organizer done" log added -i with no arguments to output the current instance name `run -e` now does an additional, case insensitive check for names fixed error being output along with --help
* fixed runPostMultiProcess() not being calledisanae2021-01-181-2/+6
| | | | comments
* put more stuff in Meta to simplifyisanae2021-01-181-34/+33
|
* added refresh commandisanae2021-01-181-11/+64
| | | | added more help for run
* moved externalMessage() to MOApplicationisanae2021-01-181-16/+102
| | | | | | commands can forward to the primary instance added reload-plugin command MessageDialog now tries to find the main window when the reference is null, which actually used to happen often because activeWindow() is typically used, but that's null when the main window doesn't have focus (like when downloading from nexus, for example)
* merged exe and run commands, added -e flag insteadisanae2021-01-181-46/+46
| | | | added dialog when selected profile doesn't exist, this can happen with -p on the command line
* implemented exe commandisanae2021-01-181-8/+39
| | | | better error when cwd doesn't exist
* fixed all commands being legacyisanae2021-01-181-12/+24
| | | | split running command into pre and post organizer
* fix running shortcuts with locking disabledisanae2021-01-041-2/+7
| | | | | when a ProcessRunner gets ForceWait|PreventExit and locking is disabled, wait for the process normally but without showing the ui changed references to UILocker::Session to pointers because they can now be null
* whitespaceisanae2020-11-101-2/+2
|
* don't attempt to parse the command line for launch, it fails in all sorts of ↵isanae2020-11-091-29/+29
| | | | | | ways don't try to time stuff before logging is initialized, an exception before initLogging() will crash because ~TimeThis() tries to log
* renamed SingleInstance to MOMultiProcessisanae2020-11-081-3/+2
| | | | rewrote some comments to avoid using "instance"
* moved handleCommandLine() to CommandLine::setupCore()isanae2020-11-071-0/+53
|
* moved splash stuff to MOSplashisanae2020-11-071-0/+3
| | | | comments
* commentsisanae2020-11-071-17/+38
| | | | interpret a first argument starting with -- as an error instead of an exe name/binary
* command usage lines, exe optionsisanae2020-11-031-46/+132
|
* formatting for command listisanae2020-11-031-3/+86
| | | | added empty exe and run commands
* fixed handling of profile names with different casing than on the filesystemisanae2020-11-031-0/+12
| | | | added --instance
* add warning when profile given with -p doesn't existisanae2020-11-031-19/+79
| | | | implemented moshortcut, nxm links and executable names as command line options
* removed unused `update` parameterisanae2020-11-031-10/+34
| | | | moved --multiple to CommandLine
* implemented `launch` as a commandisanae2020-11-031-16/+139
|
* new CommandLine classisanae2020-11-031-0/+205
implemented crashdump as a command, fixed dump_running_process.bat to use it attach to console if present instead of always create one