Implement -p or --profile command line argument (#2947)

* Implement -p or --profile command line argument

* Put command line logic all in Program and reference it elsewhere

* Address feedback
This commit is contained in:
JavidPack
2022-03-02 01:51:37 -07:00
committed by GitHub
parent 3705c20668
commit a3dd04deef
3 changed files with 24 additions and 3 deletions

View File

@@ -178,7 +178,7 @@ namespace Ryujinx.Ui
VirtualFileSystem.FixExtraData(_libHacHorizonManager.RyujinxClient);
_contentManager = new ContentManager(_virtualFileSystem);
_accountManager = new AccountManager(_libHacHorizonManager.RyujinxClient);
_accountManager = new AccountManager(_libHacHorizonManager.RyujinxClient, Program.CommandLineProfile);
_userChannelPersistence = new UserChannelPersistence();
// Instantiate GUI objects.