mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-07 14:10:42 +08:00
fix(desktop): update Windows executable in place
This commit is contained in:
@@ -4,5 +4,11 @@ mod frontend;
|
||||
mod resource_limits;
|
||||
mod startup;
|
||||
mod tray;
|
||||
mod update;
|
||||
|
||||
pub use desktop::run;
|
||||
pub fn run() -> std::process::ExitCode {
|
||||
if let Some(exit_code) = update::run_replacement_if_requested() {
|
||||
return exit_code;
|
||||
}
|
||||
desktop::run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user