omni_forge/image_builder/ensure/
common.rs

1pub fn get_platform() -> String {
2    if cfg!(target_os = "windows") {
3        "windows".to_string()
4    } else if cfg!(target_os = "macos") {
5        "darwin".to_string()
6    } else {
7        "linux".to_string()
8    }
9}
10
11#[derive(Debug)]
12pub struct InstallationStatus {
13    pub node: bool,
14    pub npm: bool,
15    pub docker: bool,
16    pub devcontainers: bool,
17}