File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 2
2
# v7.1.1.1 Beta (????-??-??)
3
3
4
4
- Korean, Russian and Turkish translation added, Japanese translation fixed. Thanks to the translation team!
5
- - Auto build update.
5
+ - Action/Workflow/ Auto build fix and update.
6
6
- Full support for select.lua which is a new simple command palette script embedded into mpv/libmpv.
7
7
In the context menu select.lua features can be found under 'View > On Screen Menu'.
8
8
https://github.com/mpv-player/mpv/blob/master/player/lua/select.lua
9
9
- The helper script 'Tools\update-mpv-and-libmpv.ps1' no longer uses command line arguments,
10
10
it uses now the Path environment variable to find mpv and mpv.net.
11
- - Actions/Workflow/Auto builds have been fixed.
11
+
12
12
13
13
# v7.1.1.0 (2024-02-03)
14
14
Original file line number Diff line number Diff line change 14
14
using MpvNet . Windows . WPF . MsgBox ;
15
15
using MpvNet . Windows . Help ;
16
16
using MpvNet . Help ;
17
- using System ;
18
17
19
18
namespace MpvNet ;
20
19
@@ -118,6 +117,14 @@ void EditCongFile(IList<string> args)
118
117
{
119
118
string file = Player . ConfigFolder + args [ 0 ] ;
120
119
120
+ if ( ! File . Exists ( file ) )
121
+ {
122
+ string msg = $ "{ args [ 0 ] } does not exist. Would you like to create it?";
123
+
124
+ if ( Msg . ShowQuestion ( msg ) == MessageBoxResult . OK )
125
+ File . WriteAllText ( file , "" ) ;
126
+ }
127
+
121
128
if ( File . Exists ( file ) )
122
129
ProcessHelp . ShellExecute ( WinApiHelp . GetAppPathForExtension ( "txt" ) , "\" " + file + "\" " ) ;
123
130
}
You can’t perform that action at this time.
0 commit comments