This commit is contained in:
@@ -2,13 +2,13 @@
|
|||||||
# v7.1.1.1 Beta (????-??-??)
|
# v7.1.1.1 Beta (????-??-??)
|
||||||
|
|
||||||
- Korean, Russian and Turkish translation added, Japanese translation fixed. Thanks to the translation team!
|
- 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.
|
- 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'.
|
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
|
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,
|
- 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.
|
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)
|
# v7.1.1.0 (2024-02-03)
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ using MpvNet.Windows.WPF;
|
|||||||
using MpvNet.Windows.WPF.MsgBox;
|
using MpvNet.Windows.WPF.MsgBox;
|
||||||
using MpvNet.Windows.Help;
|
using MpvNet.Windows.Help;
|
||||||
using MpvNet.Help;
|
using MpvNet.Help;
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace MpvNet;
|
namespace MpvNet;
|
||||||
|
|
||||||
@@ -118,6 +117,14 @@ public class GuiCommand
|
|||||||
{
|
{
|
||||||
string file = Player.ConfigFolder + args[0];
|
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))
|
if (File.Exists(file))
|
||||||
ProcessHelp.ShellExecute(WinApiHelp.GetAppPathForExtension("txt"), "\"" + file + "\"");
|
ProcessHelp.ShellExecute(WinApiHelp.GetAppPathForExtension("txt"), "\"" + file + "\"");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user