oliver 0.5.1

Lightweight CLI mod development tool for Baldur's Gate 3 on Linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::Settings;
use anyhow::Result;
use larian_formats::{format::Write, lspk::write::Writer};
use std::path::PathBuf;

impl Settings {
    pub(crate) fn pack_helper(mod_files_root: PathBuf, destination: Option<PathBuf>) -> Result<()> {
        let writer = Writer::with_mod_root_path(mod_files_root, destination)?;

        writer.write()?;
        Ok(())
    }
}