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

Add Update Button #20

Open
0xsingular opened this issue Dec 14, 2024 · 5 comments
Open

Add Update Button #20

0xsingular opened this issue Dec 14, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@0xsingular
Copy link

Description:
A "Check for Updates" button would be useful to let users know if a newer version of teaBASE is available. If an update is found, there could be an "Update Now" button to apply it easily.

Benefit:
Makes staying up to date simple and ensures users always have the latest features and fixes.

@stevenlei
Copy link
Collaborator

I have just check the code and it seems there is already a self update feature in place

So I installed an older version 0.5.0, and check the log with the system Console app, it will check for Github release and know 0.6.0 is the latest version:
image

Although it is not reflected in real time, but after a few restarts it has upgraded successfully from 0.5.0 to 0.6.0

It could be silently failed sometimes, or just need time to reload the prefpane, not sure.

@mxcl
Copy link
Member

mxcl commented Dec 14, 2024

We do indeed already self-update, there is no UI or notifications for this however and I agree there should be. Just haven’t gotten to it yet. Not sure how this should be displayed etc.

@mxcl mxcl added the enhancement New feature or request label Dec 16, 2024
@mxcl
Copy link
Member

mxcl commented Dec 16, 2024

Additionally, the update needs to be safe. Currently if System Settings Quits during update it will result in a partial update that is thus corrupted.

Atomically updating the prefPane is maybe possible. Currently we rsync over the top of the running prefPane. Moving the open prefPane may be ok, but I dunno if the system is going to like that.

@krisevan12

This comment was marked as spam.

@krisevan12

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants