ORelio / Spotlight-Downloader

Download Windows Spotlight images and apply them to wallpaper or lockscreen.
182 stars 27 forks source link

Linux/MacOS usage instructions #31

Closed theofficialgman closed 4 weeks ago

theofficialgman commented 1 month ago

The readme refers to (Windows/Mac/Linux) for usage but the releases only provide a windows executable file (.exe) and zip windows script language files which cannot run natively on Linux/MacOS. What was your intended method for running this application on MacOS and Linux?

ORelio commented 4 weeks ago

Hi, You can run the .NET assembly (.exe) using Mono, the same way you can run a .jar using Java:

sudo apt install mono-runtime
mono SpotlightDownloader.exe

Adding this to the README, thanks for pointing out that instructions were lacking.

ORelio commented 4 weeks ago

Oh, also, you can look into the .bat scripts to see command examples, e.g. adapting from spotlight-download-archive.bat:

mkdir SpotlightArchive
mono SpotlightDownloader.exe download --many --maxres --metadata --outdir SpotlightArchive
theofficialgman commented 4 weeks ago

Thanks but I went ahead and just implemented the api scrape with curl and some simple sed commands for my needs. No need for anything more complicated that that for me.

ORelio commented 4 weeks ago

Well, the API documentation is here for that. Feel free to implement your own tools! 👍