mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix Visual Studio install detection in release-tool.ps1 (#10101)
* Update release-tool.ps1 `Get-CimInstance MSFT_VSInstance` does not always work as it uses the default namespace root/cimv2. Specifying `Get-CimInstance MSFT_VSInstance -Namespace root/cimv2/vs` allows it to work. Co-authored-by: Jonathan White <support@dmapps.us>
This commit is contained in:
parent
884386c924
commit
442d65a497
@ -141,7 +141,8 @@ function Test-WorkingTreeClean {
|
||||
|
||||
function Invoke-VSToolchain([String] $Toolchain, [String] $Path, [String] $Arch) {
|
||||
# Find Visual Studio installations
|
||||
$vs = Get-CimInstance MSFT_VSInstance
|
||||
$vs = Get-CimInstance MSFT_VSInstance -Namespace root/cimv2/vs
|
||||
|
||||
if ($vs.count -eq 0) {
|
||||
$err = "No Visual Studio installations found, download one from https://visualstudio.com/downloads."
|
||||
$err = "$err`nIf Visual Studio is installed, you may need to repair the install then restart."
|
||||
@ -429,8 +430,8 @@ if ($Merge) {
|
||||
# SIG # Begin signature block
|
||||
# MIIfXAYJKoZIhvcNAQcCoIIfTTCCH0kCAQExDzANBglghkgBZQMEAgEFADB5Bgor
|
||||
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
|
||||
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCC3+AltPeIvGycP
|
||||
# LJr+5kqYiFnGPXyfdXgAkgrw+aI/AqCCGSAwggU6MIIEIqADAgECAhBYotctjMD9
|
||||
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAKyIC1auPQLwaz
|
||||
# j39O2BD1plxMAn1GvZmzE7wp3XZ8nqCCGSAwggU6MIIEIqADAgECAhBYotctjMD9
|
||||
# icz/IeDU7cdKMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgNVBAYTAkdCMRswGQYDVQQI
|
||||
# ExJHcmVhdGVyI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1LvirhlAYLjaLyEnXziKDGMP9TCeBwUR2K/6oP6QKcCFo4R/BaVsIpln4h
|
||||
# ZhUonOKvleLbpvIDV7TPr8ZPNvLbGkqDlfvfR4dkqa3RVuSS029ruu0bbNL2fUft
|
||||
# Czq6/PNNRvEhnGzmikZycU7HlH9TjizmGU4Na7VrGhroPM8U7CWDwahPnSER8NNa
|
||||
# RZPA47j/3zgJsFCnCiy/Bv+UlWIOsuqJePZmDXm02ZQvXKYXe9QZH7GcmsdNEBNm
|
||||
# 3vVoXPZzYJaBxJ6r1khlWDEZQPDwuZ1jLxoReh7fA5hjdzTA5T0V4pY5RbCCSzZZ
|
||||
# ZLe2Rukc5sYs4p06MuiYyg==
|
||||
# SIG # End signature block
|
||||
|
Loading…
Reference in New Issue
Block a user