pub mod flash;
pub mod freedesktop;
pub mod install;
pub mod macos;
pub mod plist;
pub mod elevate;
#[cfg(windows)]
pub mod aumid;
#[cfg(windows)]
pub mod shortcuts;
#[cfg(not(windows))]
pub mod shortcuts {
pub fn apply_shortcut_choices(
_aumid: &str,
_product: &str,
_main_exe: &str,
_desktop: Option<bool>,
_menu: Option<bool>,
_dir: &str,
) -> Result<(), String> {
Ok(())
}
#[cfg(test)]
mod tests {
use super::apply_shortcut_choices;
#[test]
fn shortcut_choices_apply_nothing_away_from_windows() {
assert!(
apply_shortcut_choices("", "Demo", "demo.exe", Some(true), Some(false), "").is_ok()
);
}
}
}