This commit is contained in:
Daniel Edrisian
2025-10-14 14:50:25 -07:00
parent 1f7eebf998
commit 9ef141866b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -302,8 +302,8 @@ impl App {
AppEvent::ExitRequest => {
return Ok(false);
}
#[cfg(not(debug_assertions))]
AppEvent::RunUpdateAndExit(action) => {
// Record the requested update action and exit.
self.pending_update_action = Some(action);
return Ok(false);
}
+1
View File
@@ -90,5 +90,6 @@ pub(crate) enum AppEvent {
FullScreenApprovalRequest(ApprovalRequest),
/// User approved to update Codex; run the update and exit.
#[cfg(not(debug_assertions))]
RunUpdateAndExit(UpdateAction),
}