Community
    • Login

    add "/downloads/latest/" as url on the website

    Scheduled Pinned Locked Moved Humour
    2 Posts 2 Posters 2.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lollilolL Offline
      lollilol
      last edited by

      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

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @lollilol
        last edited by PeterJones

        @lollilol

        fdf5d986-58a6-4eae-8ff3-e14283946387-image.png

        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.)

        1 Reply Last reply Reply Quote 3

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors