mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-20 17:51:13 +02:00
Added a command line option (-c, --config) to load a configuration file through the command line parameters
This commit is contained in:
committed by
KeatonTheBot
parent
0380173937
commit
49b0927fd5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user