mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Update uninstall entry when applying updates
This commit is contained in:
@@ -128,6 +128,11 @@ fn apply_package_impl<'a>(
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
if let Err(e) = package_manifest.write_uninstall_entry(root_path) {
|
||||
warn!("Failed to write uninstall entry ({}).", e);
|
||||
}
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
crate::windows::run_hook(&package_manifest, &root_path, "--veloapp-updated", 15);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user