Skip to content

Commit f98afa3

Browse files
committed
add auto update check
1 parent 27309de commit f98afa3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/system_tray.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ impl SystemTray {
9898

9999
let _: Result<(), std::io::Error> =
100100
key.set_value("AutoUpdate", &(!self.tray_item_update.checked() as u32));
101+
102+
self.auto_update();
101103
}
102104

103105
fn refresh_startup(&self) {

0 commit comments

Comments
 (0)