Move the open logs folder from setting into the File menu in the main window (#1550)
This commit is contained in:
parent
31a84eedcb
commit
d0e36b7b19
4 changed files with 26 additions and 33 deletions
|
@ -478,21 +478,6 @@ namespace Ryujinx.Ui
|
|||
_browseThemePath.SetStateFlags(0, true);
|
||||
}
|
||||
|
||||
private void OpenLogsFolder_Pressed(object sender, EventArgs args)
|
||||
{
|
||||
string logPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Logs");
|
||||
|
||||
DirectoryInfo directory = new DirectoryInfo(logPath);
|
||||
directory.Create();
|
||||
|
||||
Process.Start(new ProcessStartInfo()
|
||||
{
|
||||
FileName = logPath,
|
||||
UseShellExecute = true,
|
||||
Verb = "open"
|
||||
});
|
||||
}
|
||||
|
||||
private void ConfigureController_Pressed(object sender, EventArgs args, PlayerIndex playerIndex)
|
||||
{
|
||||
((ToggleButton)sender).SetStateFlags(0, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue