This commit is contained in:
stax76
2024-07-16 00:04:15 +02:00
parent 3caf4f2cb3
commit e6defd3e55
2 changed files with 10 additions and 3 deletions

View File

@@ -2,13 +2,13 @@
# v7.1.1.1 Beta (????-??-??)
- Korean, Russian and Turkish translation added, Japanese translation fixed. Thanks to the translation team!
- Auto build update.
- Action/Workflow/Auto build fix and update.
- Full support for select.lua which is a new simple command palette script embedded into mpv/libmpv.
In the context menu select.lua features can be found under 'View > On Screen Menu'.
https://github.com/mpv-player/mpv/blob/master/player/lua/select.lua
- The helper script 'Tools\update-mpv-and-libmpv.ps1' no longer uses command line arguments,
it uses now the Path environment variable to find mpv and mpv.net.
- Actions/Workflow/Auto builds have been fixed.
# v7.1.1.0 (2024-02-03)

View File

@@ -14,7 +14,6 @@ using MpvNet.Windows.WPF;
using MpvNet.Windows.WPF.MsgBox;
using MpvNet.Windows.Help;
using MpvNet.Help;
using System;
namespace MpvNet;
@@ -118,6 +117,14 @@ public class GuiCommand
{
string file = Player.ConfigFolder + args[0];
if (!File.Exists(file))
{
string msg = $"{args[0]} does not exist. Would you like to create it?";
if (Msg.ShowQuestion(msg) == MessageBoxResult.OK)
File.WriteAllText(file, "");
}
if (File.Exists(file))
ProcessHelp.ShellExecute(WinApiHelp.GetAppPathForExtension("txt"), "\"" + file + "\"");
}