Update windows registry to 0.5 (#11799)

This update contains the feature we need to fix #11217
This commit is contained in:
konsti 2025-02-26 16:33:31 +01:00 committed by GitHub
parent 6e7ec3274a
commit d136c23d46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 19 deletions

View file

@ -161,9 +161,9 @@ fn write_registry_entry(
);
tag.set_string("DisplayName", &display_name)?;
tag.set_string("SupportUrl", "https://github.com/astral-sh/uv")?;
tag.set_string("Version", &installation.key().version().to_string())?;
tag.set_string("SysVersion", &installation.key().sys_version())?;
tag.set_string("SysArchitecture", &format!("{pointer_width}bit"))?;
tag.set_string("Version", installation.key().version().to_string())?;
tag.set_string("SysVersion", installation.key().sys_version())?;
tag.set_string("SysArchitecture", format!("{pointer_width}bit"))?;
// Store `python-build-standalone` release
if let Some(url) = installation.url() {
tag.set_string("DownloadUrl", url)?;