Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Handle 'platforms' from new updates.json entry #163

Open
core-ai-bot opened this issue Aug 17, 2021 · 0 comments
Open

[CLOSED] Handle 'platforms' from new updates.json entry #163

core-ai-bot opened this issue Aug 17, 2021 · 0 comments

Comments

@core-ai-bot
Copy link
Member

Issue by swmitra
Friday Oct 26, 2018 at 04:11 GMT
Originally opened as adobe#222


Handle platform entries from updates.json. This PR adds capability to identify OS specific releases and offer download accordingly. In new update entry format, every platform node provides a dedicated downloadURL. This PR makes use of that downloadURL when present instead of generating the installer asset URI.

This is how the new Update entries look like -

{
        "buildNumber": 17696,
        "versionString": "Release 1.13",
        "dateString": "06-18-2018",
        "releaseNotesURL": "https://github.com/adobe/brackets/wiki/Release-Notes:-1.13",
        "downloadURL": "http://brackets.io",
        "newFeatures": [
            {
                "name": "Organize Files/Folders in File Tree",
                "description": "You can now manipulate folder structure from within Brackets. Move a file/folder from one folder to another with a simple drag and drop."
            },
            {
                "name": "Open Remote Files",
                "description": "You can now open a remotely hosted web-page from within Brackets. Use Ctrl/Cmd-Shift-O shortcut and supply a URL to quickly open the file and review the code within Brackets."
            },
            {
                "name": "Auto-Update",
                "description": "You can now automatically update Brackets, without leaving the code editor. "
            }
        ],
        "platforms" : {
            "WIN": {
                "checksum": "a1020f55d4ec92c824ed6e5a3db941eaae6ffeb2334a77fa3465fe2736304a86",
                "downloadURL": "https://github.com/adobe/brackets/releases/download/release-1.13/Brackets.Release.1.13.msi"
            },
            "OSX": {
                "checksum": "34d8960d78e7301febcc6b68b85970d119b7a904cdb9a0ecfc445348de1e4bd4",
                "downloadURL": "https://github.com/adobe/brackets/releases/download/release-1.13/Brackets.Release.1.13.dmg"
            },
            "LINUX32" : {
                "checksum": "3a83332e4e54fa3721dfa7e67a9d143c0b2658aec9de9b0c1042435f5f496624",
                "downloadURL" : "https://github.com/adobe/brackets/releases/download/release-1.13/Brackets.Release.1.13.32-bit.deb"
            },
            "LINUX64" : {
                "checksum" : "5c489a51d14b66d696f1b167018dae598f9a27c1bd08a4026334e300f7dc93cf",
                "downloadURL" : "https://github.com/adobe/brackets/releases/download/release-1.13/Brackets.Release.1.13.64-bit.deb"
            }
        },
        "prerelease" : "false"
    }

@nethip @vickramdhawal Please review.


swmitra included the following code: https://github.com/adobe/brackets.io/pull/222/commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant