diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-10 22:51:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 22:51:10 +0200 |
commit | 6632a081a846116e7ca1e4ab96b3592938ee2a20 (patch) | |
tree | e473e632237e3273e14c3dcee3f4cf0b8c944c07 /src-tauri/src/northstar | |
parent | 1635993f130f0f71d9a9bc002b2f74167ad5c974 (diff) | |
download | FlightCore-6632a081a846116e7ca1e4ab96b3592938ee2a20.tar.gz FlightCore-6632a081a846116e7ca1e4ab96b3592938ee2a20.zip |
refactor: Move code from `lib.rs` into `main.rs` (#330)
Move remaining logic in one big move
Diffstat (limited to 'src-tauri/src/northstar')
-rw-r--r-- | src-tauri/src/northstar/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src-tauri/src/northstar/mod.rs b/src-tauri/src/northstar/mod.rs index a969d456..0fd4743e 100644 --- a/src-tauri/src/northstar/mod.rs +++ b/src-tauri/src/northstar/mod.rs @@ -1,9 +1,8 @@ //! This module deals with handling things around Northstar such as //! - getting version number -use crate::constants::CORE_MODS; +use crate::{check_origin_running, constants::CORE_MODS, get_host_os, GameInstall, InstallType}; use anyhow::anyhow; -use app::{check_origin_running, get_host_os, GameInstall, InstallType}; /// Check version number of a mod pub fn check_mod_version_number(path_to_mod_folder: &str) -> Result<String, anyhow::Error> { |