webui-dev / v-webui

Use any web browser as GUI, with V in the backend and modern web technologies in the frontend.
https://webui.me
MIT License
112 stars 11 forks source link

Update setup script to download WebUI Github releases #65

Closed ttytm closed 1 year ago

ttytm commented 1 year ago

Closes #59

Currently it uses WebUIs nightly releases.

Eventually (for the 2.4.0 release), it will be updated to to download the stable releases by default and optionally nightly releases.

@hassandraga we could make this into a repo (something like webui-release-downloader). It could have its own binary GitHub releases and work as CLI tool that other wrappers could download and use to download and prepare the WebUI static files for different platforms. It would help to keep things uniform. I would make the webui destination dir configurable via an argument then.

hassandraga commented 1 year ago

That is a good idea, but I still need clarification about how other wrappers could download the pre-built binaries. Can you explain, please?

ttytm commented 1 year ago

Yep, I'll add a short explanation. It also should be possible to just attach it here or give a short instruction of how to compile it, if you prefer to have it self compiled. Then its possible to test how it would work. Maybe even creating the repo as private at first, then testing it is the full experience :D Gonna catch some sleep and do some work before. Hear you later 👍

hassandraga commented 1 year ago

Lets test it here https://github.com/webui-dev/webui-release-downloader

ttytm commented 1 year ago

We can already move towards using the pre-builts here. If and how to use a release-downloader for other wrappers we can decide over at the test repo 🙂👍.