(ctx: &egui::Context, jobs: &mut JobQueue)
| 127 | } |
| 128 | |
| 129 | pub fn start_check_update(ctx: &egui::Context, jobs: &mut JobQueue) { |
| 130 | jobs.push_once(Job::Update, || { |
| 131 | jobs::check_update::start_check_update(egui_waker(ctx), CheckUpdateConfig { |
| 132 | build_updater, |
| 133 | bin_names: vec![BIN_NAME_NEW.to_string(), BIN_NAME_OLD.to_string()], |
| 134 | }) |
| 135 | }); |
| 136 | } |
| 137 | |
| 138 | pub fn start_update(ctx: &egui::Context, jobs: &mut JobQueue, bin_name: String) { |
| 139 | jobs.push_once(Job::Update, || { |
no test coverage detected