use new msg model everywhere

This commit is contained in:
stax76
2022-06-03 20:23:05 +02:00
parent 8ee389e8cb
commit 4cd92db141
3 changed files with 15 additions and 13 deletions

View File

@@ -213,9 +213,11 @@ namespace mpvnet
{
string content = File.ReadAllText(InputConfPath);
if (!content.Contains("script-message mpv.net show-menu"))
if (!content.Contains("script-message mpv.net show-menu") &&
!content.Contains("script-message-to mpvnet show-menu"))
File.WriteAllText(InputConfPath, BR + content.Trim() + BR +
"MBTN_Right script-message mpv.net show-menu" + BR);
"MBTN_Right script-message-to mpvnet show-menu" + BR);
}
App.Settings.ShowMenuFixApplied = true;