aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2023-05-10 03:09:01 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-05-10 03:09:01 +0200
commit4bc48e645ce39f7cbf621c27f6a096bbef33cb45 (patch)
treec3e2ed1165f76c002ff00c471404fa1e575e6709 /src-tauri/src
parentae6dfea78141a758e5838eefd79573143d1b93ed (diff)
downloadFlightCore-4bc48e645ce39f7cbf621c27f6a096bbef33cb45.tar.gz
FlightCore-4bc48e645ce39f7cbf621c27f6a096bbef33cb45.zip
refactor: Import constants from crate root instead
of lib
Diffstat (limited to 'src-tauri/src')
-rw-r--r--src-tauri/src/main.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index d3b58b67..df13cfb9 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -14,10 +14,9 @@ use std::ptr::null_mut;
#[cfg(target_os = "windows")]
use winapi::um::winuser::{MessageBoxW, MB_ICONERROR, MB_OK, MB_USERICON};
-use app::{
- constants::{APP_USER_AGENT, MASTER_SERVER_URL, REFRESH_DELAY, SERVER_BROWSER_ENDPOINT},
- *,
-};
+use app::*;
+
+use crate::constants::{APP_USER_AGENT, MASTER_SERVER_URL, REFRESH_DELAY, SERVER_BROWSER_ENDPOINT};
mod github;
use github::release_notes::check_is_flightcore_outdated;