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

Support multiple installer/bundle types per platform #2277

Open
FabianLars opened this issue Jan 7, 2025 · 0 comments
Open

Support multiple installer/bundle types per platform #2277

FabianLars opened this issue Jan 7, 2025 · 0 comments
Labels
enhancement New feature or request plugin: updater

Comments

@FabianLars
Copy link
Member

Now with the introduction of .deb updater support our current json schema really shows its limits. It would also be a valuable addition for Windows though because support msi and exe sometimes makes sense (or at least so i was told).

About the Static JSON response changes required:
Duplicate object keys are seemingly not well supported (understandibly since the specs highly discourage it) so i guess that's sadly out.

I feel like overloading the current object keys like x86_64-windows-nsis is a bit ugly but honestly not the worst.

Alternatively we could provide basically schema version 2 and use an array instead of an object, example:

{
  // Maybe rename platforms to better reflect what the array actually contains
  "platforms": [
    {
      "os": "windows",
      "arch": "x86_64",
      "bundleType": "nsis",
    },
    {
      "os": "windows",
      "arch": "x86_64",
      "bundleType": "wix",
    }
  ]
}
@FabianLars FabianLars added enhancement New feature or request plugin: updater labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin: updater
Projects
None yet
Development

No branches or pull requests

1 participant