1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#[cfg(test)]
mod test;
pub mod api;
pub mod core;
pub mod error;
pub mod model;
pub const CORE_MODS: [&str; 3] = [
"Northstar.Custom",
"Northstar.CustomServers",
"Northstar.Client",
];
pub mod prelude {
pub use crate::api::get_package_index;
pub use crate::core::manage::{
download, download_with_progress, install_mod, install_northstar, install_with_sanity,
uninstall,
};
pub use crate::core::utils::{find_mods, get_enabled_mods, resolve_deps};
#[cfg(all(target_os = "linux", feature = "proton"))]
pub use crate::core::{download_ns_proton, install_ns_proton, latest_release};
#[cfg(feature = "steam")]
pub use crate::core::{steam_dir, steam_libraries, titanfall};
pub use crate::error::ThermiteError;
pub use crate::CORE_MODS;
}