From fc00447ccc3f63a54faca3d666701c19d9b8b8db Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Sat, 11 Feb 2023 18:33:15 +0100 Subject: refactor: Move various consts to `constants.rs` (#162) * refactor: Move list of core mods to consts source Move the list of core Northstar mods to constants.rs * fix: Add missing newline * refactor: Move list of blacklisted mods to consts source file * refactor: Move list of TF2 Origin IDs to consts source file --- src-tauri/src/northstar/mod.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src-tauri/src/northstar') diff --git a/src-tauri/src/northstar/mod.rs b/src-tauri/src/northstar/mod.rs index 8adfeec2..a043632c 100644 --- a/src-tauri/src/northstar/mod.rs +++ b/src-tauri/src/northstar/mod.rs @@ -1,13 +1,7 @@ //! This module deals with handling things around Northstar such as //! - getting version number -pub const CORE_MODS: [&str; 3] = [ - "Northstar.Client", - "Northstar.Custom", - "Northstar.CustomServers", -]; - -use crate::check_mod_version_number; +use crate::{check_mod_version_number, constants::CORE_MODS}; use anyhow::anyhow; /// Returns the current Northstar version number as a string -- cgit v1.2.3