This commit is contained in:
Frank Skare
2021-06-20 16:01:04 +02:00
parent 3b6e6167b0
commit 6634ef094c
6 changed files with 51 additions and 4 deletions

View File

@@ -12,6 +12,8 @@ namespace mpvnet
{
public static class App
{
public static event Action ShowCommandPalette;
public static List<string> TempFiles { get; } = new List<string>();
public static string ConfPath { get => Core.ConfigFolder + "mpvnet.conf"; }

View File

@@ -33,7 +33,7 @@ namespace mpvnet
case "shell-execute": ProcessHelp.ShellExecute(args[0]); break;
case "show-about": ShowDialog(typeof(AboutWindow)); break;
case "show-audio-devices": ShowTextWithEditor("audio-device-list", Core.get_property_osd_string("audio-device-list")); break;
case "show-command-palette": ShowDialog(typeof(CommandPaletteWindow)); break;
case "show-command-palette": ShowCommandPalette(); break;
case "show-commands": ShowCommands(); break;
case "show-conf-editor": ShowDialog(typeof(ConfWindow)); break;
case "show-decoders": ShowTextWithEditor("decoder-list", mpvHelp.GetDecoders()); break;