diff --git a/TwitchArchiverWPF/MainWindow.xaml.cs b/TwitchArchiverWPF/MainWindow.xaml.cs index a6a7d08..28bafb0 100644 --- a/TwitchArchiverWPF/MainWindow.xaml.cs +++ b/TwitchArchiverWPF/MainWindow.xaml.cs @@ -866,7 +866,7 @@ private static void DirectoryCopy(string sourceDirName, string destDirName, bool bool isLive = true; string baseUrl = ""; if (playlistUrl != null) - playlistUrl.Substring(0, playlistUrl.LastIndexOf("/") + 1); + baseUrl = playlistUrl.Substring(0, playlistUrl.LastIndexOf("/") + 1); int failCount = 0; while (isLive && !token.IsCancellationRequested) diff --git a/TwitchArchiverWPF/TwitchArchiverWPF.csproj b/TwitchArchiverWPF/TwitchArchiverWPF.csproj index b325e78..980fff5 100644 --- a/TwitchArchiverWPF/TwitchArchiverWPF.csproj +++ b/TwitchArchiverWPF/TwitchArchiverWPF.csproj @@ -5,7 +5,7 @@ net5.0-windows enable true - C:\Users\Lewis Pardo\Downloads\archive_wF(1).ico + logo.ico @@ -27,6 +27,10 @@ + + + + diff --git a/TwitchArchiverWPF/logo.ico b/TwitchArchiverWPF/logo.ico new file mode 100644 index 0000000..f294c2f Binary files /dev/null and b/TwitchArchiverWPF/logo.ico differ