cargo-crapapp 0.4.2

Cargo subcommand for building CRAP app installers and self-contained app bundles
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::windows_installer::InstallerConfig;

use super::{DialogSpec, display_name};

pub(super) fn dialog(config: &InstallerConfig) -> DialogSpec {
    DialogSpec {
        id: "ProgressDlg".to_owned(),
        first_control: "Progress".to_owned(),
        default_control: "Cancel".to_owned(),
        cancel_control: "Cancel".to_owned(),
        title: format!("Installing {}", display_name(config)),
        modeless: true,
    }
}