Skip to content

Conversation

@bitdisaster
Copy link
Contributor

Description of Change

This PR implements MSIX auto-updating according to electron/rfcs#21 . The new upater module supports auto-updating via:

{
  "url": "https://mycompany.example.com/myapp/package.msix",
  "name": "My Release Name",
  "notes": "Theses are some release notes innit",
  "pub_date": "2013-09-18T12:29:53+01:00"
}
{
  "currentRelease": "2.0.0",
  "releases": [
    {
      "version": "1.0.0",
      "updateTo": {
        "version": "1.0.0",
        "pub_date": "2013-09-18T12:29:53+01:00",
        "notes": "Theses are some release notes innit",
        "name": "1.2.1",
        "url": "https://mycompany.example.com/myapp/package_1.msix""
      }
    },
    {
      "version": 2.0.0",
      "updateTo": {
        "version": "2.0.0",
        "pub_date": "2014-09-18T12:29:53+01:00",
        "notes": "Theses are some more release notes innit",
        "name": "1.2.3",
        "url": "https://mycompany.example.com/myapp/package_2.msix"
      }
    }
  ]
}
  • direct MSIX url link
    https://mycompany.example.com/myapp/package.msix

Additonally, MSIX supports downgrading by setting allowAnyVersion. False by default.

 autoUpdater.setFeedURL({ url: 'https://mycompany.example.com/myapp/package.msix', allowAnyVersion: true }

Checklist

Release Notes

Notes:

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Dec 18, 2025
@bitdisaster bitdisaster marked this pull request as draft December 18, 2025 01:46
@bitdisaster bitdisaster marked this pull request as ready for review December 18, 2025 21:35
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Dec 25, 2025
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

Successfully merging this pull request may close these issues.

1 participant