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

Change update check frequency ----- (done Tray application and autoupdater) #44

Closed
sitiom opened this issue Jun 10, 2022 · 16 comments
Closed
Labels
new-feature A new feature that could be useful in WingetUI ready-to-go

Comments

@sitiom
Copy link
Contributor

sitiom commented Jun 10, 2022

It seems like you already have a tray icon, albeit non-functioning. It would be good to make use of it. Additionally, having WingetUI run in the background and automatically notify and install updates unattended is something I think is essential to most package manager UIs.

See microsoft/winget-cli#212 (comment)

Here are some references:

zkokaja/Brewlet

For example, you need to manually check if some of your packages can be updated. With Brewlet it's easy: if everything is working swimmingly, then you'll see the normal shadow icon. If updates are available to be installed, the icon will become colored, , to get your attention – along with a notification if you wish. Once clicked, you'll be able to upgrade your packages, among other options. In addition, Brewlet will periodically check the status of packages in the background, so you don't have to.

Brewlet

cokelid/ChocoButler
ChocoButler ChocoButler

@marticliment
Copy link
Owner

Huh, that's hard work, but why not

@marticliment marticliment added new-feature A new feature that could be useful in WingetUI ready-to-go labels Jun 10, 2022
@marticliment marticliment added this to the Expansion ideas milestone Jun 10, 2022
@sitiom sitiom changed the title Tray application Tray application and autoupdater Jun 11, 2022
@marticliment
Copy link
Owner

image
Done!

@sitiom
Copy link
Contributor Author

sitiom commented Jul 14, 2022

Thanks! When will I be able to try this out? Also, this supports Scoop too, right?

@marticliment
Copy link
Owner

Also, this supports Scoop too, right?

Of course (or at least it should)

Thanks! When will I be able to try this out

With the next release, coming in the next week

@sitiom
Copy link
Contributor Author

sitiom commented Jul 14, 2022

Is the auto-updating also implemented? How does it work?

@marticliment
Copy link
Owner

Auto update won't be possible rn since most installers from winget still invade user's window by showing pop-ups and unattended windows. This is a thing i'm still trying to figure out, though

@sitiom
Copy link
Contributor Author

sitiom commented Jul 15, 2022

Auto update won't be possible rn since most installers from winget still invade user's window by showing pop-ups and unattended windows. This is a thing i'm still trying to figure out, though

Really? What matters is that it runs unattended, right? It's up to the users by now to use the auto update function.

@marticliment
Copy link
Owner

What matters is that it runs unattended, right? It's

silent installs run without the user noticing, but unattended installs, while they not require any kind of user input, they still can prompt for UAC and show annoying progressbars in the foreground, interrupting user activity. That's why, for the moment, this is not going to be a thing (atleast until those get fixed)

@ppvnf
Copy link
Contributor

ppvnf commented Jul 19, 2022

There's this for Winget (https://github.com/Romanitho/Winget-AutoUpdate) and for Scoop you can use the task scheduler

@sitiom
Copy link
Contributor Author

sitiom commented Jul 19, 2022

There's this for Winget (Romanitho/Winget-AutoUpdate) and for Scoop you can use the task scheduler

That's exactly what I am looking for, except WingetUI is not aware of changes when updated externally (#82 (comment))

@marticliment
Copy link
Owner

I have done it in a way that lets you know that there are updates for an app by thropwing a notification. The apps can be simply updated from the context menu or from the app itself
image

@sitiom
Copy link
Contributor Author

sitiom commented Sep 5, 2022

Good enough for me, what is the interval for update checking and can I set it?

@marticliment
Copy link
Owner

For the moment is 1h.

You'll be inly notified if any updates were found

@sitiom
Copy link
Contributor Author

sitiom commented Sep 5, 2022

For the moment is 1h.

It would also be good to be able to configure the interval.

@marticliment
Copy link
Owner

Yes, this is a pending thing, though it might not come with 1.3, since 1.3 should come today or tomorrow and i want to finish other things that require to be polished

@marticliment marticliment reopened this Sep 5, 2022
@marticliment marticliment changed the title Tray application and autoupdater (done Tray application and autoupdater) + Change update check frequency Sep 5, 2022
@marticliment marticliment changed the title (done Tray application and autoupdater) + Change update check frequency Change update check frequency ----- (done Tray application and autoupdater) Sep 5, 2022
@marticliment
Copy link
Owner

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature A new feature that could be useful in WingetUI ready-to-go
Projects
None yet
Development

No branches or pull requests

3 participants