KittyCAD / modeling-app

The KittyCAD modeling app.
https://kittycad.io/modeling-app/download
MIT License
431 stars 37 forks source link

Migrate to electron-updater channels for nightly builds #4192

Open pierremtb opened 1 month ago

pierremtb commented 1 month ago

https://www.electron.build/tutorials/release-using-channels.html

pierremtb commented 1 week ago

Talking to @franknoirot today it might not be the most critical thing we can do to help right now, as commented on the linked PR there's still a lot to understand about the capabilities of electron-builder with respect to release channel and having a toggle between nightly and release might not help much today, versus documenting the current capacities of nightly builds.

The way we have them implemented today is through Zoo Modeling App (Nightly) artifacts with their own updater link. And both should be installable on the system for back and forth. Documenting this and making sure it still works today is the quickest and least risky way to get to a better point for internal and external users avoid issues like on release v0.26.3

pierremtb commented 1 week ago

Grabbed v24.11.18 (yesterday's) and it updated to v24.11.19 (today's) just fine on macOS. However, it's named Zoo Modeling App, so cannot be installed side by side for now. Will look into adding that back. Should also add a separate icon.

pierremtb commented 1 week ago

So here is the new batch of nightly builds after that PR went in yesterday, https://dl.zoo.dev/releases/modeling-app/nightly/last_download.json

Should be able to install side-by-side with the main releases, but of course I'm very interested in finding issues with that setup and see what we can improve (besides the icon)

pierremtb commented 1 week ago

As suggested by @franknoirot it would make sense to add a button in the main release to download the nightly version once we deem it good enough for the public. Another step towards the intent of this original issue