Skip to main content

mod_entry_from_version

Function mod_entry_from_version 

Source
pub fn mod_entry_from_version(
    full_name: &str,
    owner: &str,
    version: &Version,
    installed_at_time: u64,
) -> ProfileMod
Expand description

Builds a ProfileMod from a Thunderstore Version, applying the same defaults r2modman uses for a Thunderstore install (fromThunderstoreCombo): manifestVersion=1, gameVersion="0", networkMode="both", packageType="other", installMode="managed".