Expand description
§Basic Usage:
use thermite::prelude::*;
use std::io::Cursor;
fn example() {
let index = get_package_index().unwrap();
if let Some(md) = index.iter().find(|e| e.name == "server_utilities") {
let latest = md.get_latest().unwrap();
let mut zipped = vec![];
download(&mut zipped, &latest.url).unwrap();
install_mod(&latest.full_name, Cursor::new(zipped), "packages").unwrap();
}
}
Modules§
Constants§
- CORE_
MODS - The names of the Northstar core mods as found in their
mod.json
files, all lowercase - TITANFAL
L2_ ORIGIN_ IDS - Titanfall 2’s Origin/EA App ids
- TITANFAL
L2_ STEAM_ ID - Titanfall 2’s Steam appid