diff --git a/yt-dlp-gui/App.xaml.cs b/yt-dlp-gui/App.xaml.cs index da81d8c..b26ea5e 100644 --- a/yt-dlp-gui/App.xaml.cs +++ b/yt-dlp-gui/App.xaml.cs @@ -6,7 +6,7 @@ namespace yt_dlp_gui { /// Interaction logic for App.xaml /// public partial class App : Application { - public static string CurrentVersion = "2022.10.10"; + public static string CurrentVersion = "2022.11.04"; private void Application_Startup(object sender, StartupEventArgs e) { var args = e.Args.ToList(); LoadPath(); diff --git a/yt-dlp-gui/Views/Main.xaml b/yt-dlp-gui/Views/Main.xaml index 483878c..c106b13 100644 --- a/yt-dlp-gui/Views/Main.xaml +++ b/yt-dlp-gui/Views/Main.xaml @@ -380,7 +380,7 @@ - + diff --git a/yt-dlp-gui/Views/Main.xaml.cs b/yt-dlp-gui/Views/Main.xaml.cs index 60fc3dd..0a5aeda 100644 --- a/yt-dlp-gui/Views/Main.xaml.cs +++ b/yt-dlp-gui/Views/Main.xaml.cs @@ -121,7 +121,7 @@ public partial class Main :Window { var deps = Directory.EnumerateFiles(App.AppPath, "*.exe", SearchOption.AllDirectories).ToList(); deps = deps.Where(x => Path.GetFileName(App.AppExe) != Path.GetFileName(x)).ToList(); var dep_youtubedl = deps.FirstOrDefault(x => Regex.IsMatch(Path.GetFileName(x), @"^youtube-dl\.exe"), ""); - var dep_ytdlp = deps.FirstOrDefault(x => Regex.IsMatch(Path.GetFileName(x), @"^yt-dlp(_min|_x86|_x64)?\.exe"), ""); + var dep_ytdlp = deps.FirstOrDefault(x => Regex.IsMatch(Path.GetFileName(x), @"^(yt-dlp(_min|_x86|_x64)?|ytdl-patched.*?)\.exe"), ""); var dep_ffmpeg = deps.FirstOrDefault(x => Regex.IsMatch(Path.GetFileName(x), @"^ffmpeg"), ""); var dep_aria2 = deps.FirstOrDefault(x => Regex.IsMatch(Path.GetFileName(x), @"^aria2"), ""); if (!string.IsNullOrWhiteSpace(dep_ytdlp)) { @@ -187,7 +187,6 @@ public partial class Main :Window { Data.Video = JsonConvert.DeserializeObject