add "/downloads/latest/" as url on the website
shouldn’t be a joke but that would really make it way easier to directly link to your latest download.
Also imo it shouldn’t be a redirect.
thanks in advance if you plan to implement this :D
I’d think that huge button on the front page of the website would be sufficient for anyone to find the most recent download.
And if your actual desire is to automate the finding of the most recent version of Notepad++, there are two options.
You can replicate the behavior of Notepad++'s built-in updater, which uses the file
c:\program files\notepad++\updater\gup.xml, which has the
<InfoUrl>https://notepad-plus-plus.org/update/getDownloadUrl.php</InfoUrl>which points the updater to https://notepad-plus-plus.org/update/getDownloadUrl.php, which has the location tag which tells you what the most recent version to auto-trigger update.
If that’s not sufficient for you, Notepad++ uses GitHub, and as with all GitHub projects, GitHub provides a redirect from https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest to the release/tag for the latest release. So https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest will always take you to the latest release. (And if you don’t know how to make your download-automation library handle simple redirects, you need to read the documentation for that library, because it’s usually just a single option toggle on any such library worth its salt.)