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

Loading…
Cancel
Save