spawn, fix installer_args usage

pull/444/head
Lucas Nogueira 2 years ago
parent 07151c3a37
commit eb1f5acbbc
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

@ -756,11 +756,7 @@ fn copy_files_and_run<R: Read + Seek>(
.arg(
[
config.tauri.bundle.updater.windows.install_mode.nsis_args(),
config
.tauri
.bundle
.updater
.windows
updater_config
.installer_args
.iter()
.map(AsRef::as_ref)
@ -770,6 +766,7 @@ fn copy_files_and_run<R: Read + Seek>(
.concat()
.join(", "),
)
.spawn()
.expect("installer failed to start");
exit(0);

Loading…
Cancel
Save