opt: merge addon

Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
Kingtous committed 2022-06-27 11:51:29 +08:00
1 parent 4a89469b84
commit 3f2aaae1ff
10 files changed
+35 -40

No files matched your search

+2 -2
View File
@@ -69,10 +69,10 @@ pub fn goto_install() {
allow_err!(crate::run_me(vec!["--install"]));
}
pub fn install_me(_options: String, _path: String) {
pub fn install_me(_options: String, _path: String, silent: bool, debug: bool) {
#[cfg(windows)]
std::thread::spawn(move || {
allow_err!(crate::platform::windows::install_me(&_options, _path));
allow_err!(crate::platform::windows::install_me(&_options, _path, silent, debug));
std::process::exit(0);
});
}