Skip to content

Commit

Permalink
fixup! fixup! fixup! Push error handling of get_arch outwards
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Feb 25, 2025
1 parent 5cf0081 commit 3ab4e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer-downloader/src/winapi_impl/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use installer_downloader::environment::{Environment, Error as EnvError};
use native_windows_gui::{self as nwg, fatal_message, ControlHandle};
use native_windows_gui as nwg;

use crate::delegate::{AppDelegate, AppDelegateQueue};

Expand Down Expand Up @@ -33,5 +33,5 @@ fn fatal_environment_error(error: EnvError) -> ! {
let content = match error {
EnvError::Arch => "Failed to detect CPU architecture",
};
fatal_message(title, content)
nwg::fatal_message(title, content)
}

0 comments on commit 3ab4e11

Please sign in to comment.