public static void show_prefs(string[] args) { string filepath = Folder.AppDataRoaming + "mpv\\mpv.conf"; if (!File.Exists(filepath)) { var dirPath = Folder.AppDataRoaming + "mpv\\"; if (!Directory.Exists(dirPath)) { Directory.CreateDirectory(dirPath); } File.WriteAllText(filepath, "# https://mpv.io/manual/master/#configuration-files"); } ProcessHelp.Start(OS.GetTextEditor(), '"' + filepath + '"'); }
public static void open_config_folder(string[] args) { ProcessHelp.Start(Folder.AppDataRoaming + "mpv"); }
public static void show_keys(string[] args) { ProcessHelp.Start(OS.GetTextEditor(), '"' + mpv.InputConfPath + '"'); }
public static void show_prefs(string[] args) { CreateMpvConf(); ProcessHelp.Start(OS.GetTextEditor(), '"' + mpv.mpvConfPath + '"'); }