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
dd21defcf3
commit
87c24222b8
@ -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
|
||||
# ExJHcmVhd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UIVdsbMO/2QosBTm1HzvWfB82C
|
||||
# 0s43uZNPP05a6ITmzjytk5OYEA+xwYFM6qo8TjeLGrgAeHyk7BUYdk5hUS2lQ+Th
|
||||
# SU0AivCqsAQvMcwKd69fhMGN0hrQu+ydKhQe6pmm8J5/DRoV/pNYVcecgYMXowrI
|
||||
# EXK8l0ihsk/pEpoONcpNEacQ5U/miylp7f37WlGU7bY3EWc8BOENYMRUA+hKMXka
|
||||
# kPQ1RID0BU4OyjuI76+klf9xBngSu1xR/2aw9/+TlzWGNRpjKRLQkIFJ8iaFX91B
|
||||
# KfJ4+B6HELBEn2wjLvL+fLLn3ajp2fdeRf1CWWzOHQox15KHzEK7o6zZ43IzWOeO
|
||||
# blzPpVotmoJ8ncBZXGtLDmS64Z04J58KvpfV2g02/EIHZhry2E3sG3jWAv0WY2z7
|
||||
# fgsXlQSQR8WnONsJJQ95CA==
|
||||
# AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTI0MDEyNzEzNTAyMFowPwYJ
|
||||
# KoZIhvcNAQkEMTIEMKYUWPwJLmb0lULC6uSYvVRlCBaqMMyka0aOMAr1FN6C1A3/
|
||||
# ipipXIXvwJMb0N+3izANBgkqhkiG9w0BAQEFAASCAgAgvChkMQR2tfn9meOz5FfY
|
||||
# 3NfAKWBeHN8qc30TQiOco/RPEFarGNrS9lvjXRjsxI1GEtugOhs38/1bnPOBahP8
|
||||
# T8l8lBShdKYMp7NjPh5LQUv65EQoIsFzJhxlJQJsIufjchTi+8qWT/LEFVvFcIlh
|
||||
# BDwF1n5p4ISiMAXkranYF93fAyuweZ1Dc15dcXz+aZRsIKwICOt3Cvh1g3WwLbtQ
|
||||
# U3t6L97e6zwre+VfLOzFU2N6aU/LHophInIggHIVZ2iz5zgn3XcCBl07Lhgtajwf
|
||||
# u9OBf9w9I0pEwi03Z+9q/luf8WMxksfIC4nd8fBoAperdF2f+f25ermCglEevIEI
|
||||
# LhOgaW4B20w7cn5Kj8+PgIhKyfbnBvU6rk+sCuaTAkPv5WbUzgnALLn5roxFUokD
|
||||
# mttgynslUd2c+9jB/7cPu0KcksaSUi+umqDhtyu3IlLusyyDaSXWar3Xh5Ffdbt5
|
||||
# ThCCCV+xGLC9jRkas0ZT1f11h6oQ16VjKsiz4GCZphL9uSDPWfuKHmeHa5uC5VGq
|
||||
# +RbUu/kVMc6JNw2CvCJdA/F8YWbK5uo2Cwm7bAOZis/m8RMikJr7Llw9ugk5ZhM3
|
||||
# PYHwF9zGozbpnwkgPdgX21sR5KXTlVbdJnwt0RDDiH774OCSo5DxYJxQ2tXVzY+7
|
||||
# nAwaoy5OQWeZKW7axBKs0Q==
|
||||
# SIG # End signature block
|
||||
|
Loading…
Reference in New Issue
Block a user