static void Main(string[] args) { // Load keys from default locations Keys.TryLoadKeys(); if (args.Length == 0) { return; } FwTui.FwDir = args[0]; FwTui.FwDir = System.IO.Path.GetFullPath(FwTui.FwDir); FwTui.Init(); FwTui.ReloadActiveNcas(); }
static void Main(string[] args) { // Load keys from default locations Keys.TryLoadKeys(); if (args.Length == 0) { FwTui.FwDir = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); } else { FwTui.FwDir = args[0]; } FwTui.FwDir = System.IO.Path.GetFullPath(FwTui.FwDir); FwTui.Init(); }