mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-14 16:37:07 +00:00
Added a command line option (-c, --config) to load a configuration file through the command line parameters
This commit is contained in:
parent
0380173937
commit
49b0927fd5
2 changed files with 30 additions and 0 deletions
|
|
@ -151,6 +151,11 @@ namespace Ryujinx.Ava
|
|||
ConfigurationPath = appDataConfigurationPath;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(CommandLineState.OverrideConfigFile) && File.Exists(CommandLineState.OverrideConfigFile))
|
||||
{
|
||||
ConfigurationPath = CommandLineState.OverrideConfigFile;
|
||||
}
|
||||
|
||||
if (ConfigurationPath == null)
|
||||
{
|
||||
// No configuration, we load the default values and save it to disk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue