ready_made_components/ready_made_components.rs
1use csgo_gsi_builder::{config::Config, Builder, Components};
2
3fn main() {
4 let mut config_builder = Builder::with_config(Config {
5 name: String::from("my_gsi_config_file"),
6 data: Components::ALL.into(),
7 ..Default::default()
8 });
9 config_builder
10 .build()
11 .install("C:\\Counter-Strike Global Offensive\\csgo\\cfg")
12 .unwrap();
13}