-
Notifications
You must be signed in to change notification settings - Fork 49
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
Auto-update / self-update binaries #158
Comments
When should auto update be initialized? I think we should check (every 24 hours maybe) for new versions, and if one is found, signal the manager of the server somehow. Applying the update automatically might be a reasonable thing for some users, but for others it is too much of a risk. If anything goes wrong in a version update, the user will not be aware of this until some time later. In some situation, stability is far more important than running the latest version. Maybe add an |
I'm planning on implementing this by using Tauri #215 |
please provide a compile-time option to disable automatic updates: some distributions (including Debian) forbid non-package-management changes below /usr/bin and /usr/lib and /usr/share - and it is pretty awkward to have to install atomic-data below /var |
Good point. The Tauri build will be a separate build from the regular server one. It will have desktop features, a GUI, and self-update. I'll keep supporting the regular |
excellent! |
Still needs a bit of work |
Ideally, atomic-server could update itself - without any CLI activity.
Theself_update
crate seems pretty nice.We'll use Tauri for the desktop distro.
Issue on tauri to make this even easier: tauri-apps/tauri-action#251
The text was updated successfully, but these errors were encountered: