Skip to content

Commit

Permalink
Added a downloading background message
Browse files Browse the repository at this point in the history
  • Loading branch information
wmcnamara committed Dec 8, 2020
1 parent a91f28c commit fac9e1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ async static Task Main(string[] args)
//After displaying that, download the background, and set the desktop background with the new image.
using (var client = new WebClient())
{
Console.WriteLine("Downloading Background...");
client.DownloadFile(apod.hdurl, "bg.jpg");
SetDesktopBackground(Path.GetFullPath("bg.jpg"));
}
Expand Down

0 comments on commit fac9e1b

Please sign in to comment.