Update uninstall entry when applying updates

This commit is contained in:
Caelan Sayler
2024-01-05 13:59:29 +00:00
parent 80586f2f50
commit bb458562d9

View File

@@ -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);