diff --git a/meme-of-the-day-client.ps1 b/meme-of-the-day-client.ps1 new file mode 100644 index 0000000..46ac44f --- /dev/null +++ b/meme-of-the-day-client.ps1 @@ -0,0 +1,10 @@ +Function Set-WallPaper($Value){ + $url = "https://memeoftheday.ping-mee.de/wallpaper.png"; + $wc = New-Object System.Net.WebClient + $wc.DownloadFile($url, "C:\temp\wallpaper.png") + Invoke-WebRequest $url -OutFile C:\temp\wallpaper.png + Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value $value + rundll32.exe user32.dll, UpdatePerUserSystemParameters +} + +Set-WallPaper -value "C:\temp\wallpaper.png" \ No newline at end of file diff --git a/server.py b/server.py new file mode 100644 index 0000000..e69de29