From 21d0f61f100a778b505169b62e1cf2b615c1833e Mon Sep 17 00:00:00 2001 From: _ov4 Date: Thu, 22 Oct 2026 10:31:05 +0000 Subject: feat(bundle): report newer nightly builds on startup Co-Authored-By: Claude Opus 5.5 --- bundle/src-tauri/src/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bundle/src-tauri/src/main.rs') diff --git a/bundle/src-tauri/src/main.rs b/bundle/src-tauri/src/main.rs index 37b7431..c361260 100644 --- a/bundle/src-tauri/src/main.rs +++ b/bundle/src-tauri/src/main.rs @@ -3,6 +3,7 @@ mod compiler; mod menu; mod runner; +mod update; use compiler::Compiler; use runner::{OutputEvent, Runner}; use std::{ @@ -90,6 +91,12 @@ fn main() { let compiler = Compiler::load(); tauri::Builder::default() .plugin(tauri_plugin_dialog::init()) + .plugin(tauri_plugin_opener::init()) + // Once per launch, not per window. + .setup(|app| { + update::check(app.handle().clone()); + Ok(()) + }) .menu(menu::build) // Menu items act on the focused window, like its keyboard shortcuts. .on_menu_event(|app, event| { -- cgit v1.3.1-4-g156e