bpo-41492: Fixes the description appearing in UAC prompts on Windows (GH-21754)

This commit is contained in:
Steve Dower 2020-08-06 17:36:22 +01:00 committed by GitHub
parent 79bb2c93f2
commit 777b611c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 1 deletions

View File

@ -1,6 +1,12 @@
steps: steps:
- template: ./checkout.yml - template: ./checkout.yml
- powershell: |
$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
displayName: 'Update signing description'
condition: and(succeeded(), not(variables['SigningDescription']))
- task: DownloadPipelineArtifact@1 - task: DownloadPipelineArtifact@1
displayName: 'Download artifact: doc' displayName: 'Download artifact: doc'
inputs: inputs:

View File

@ -105,9 +105,15 @@ jobs:
clean: all clean: all
steps: steps:
- checkout: none - template: ./checkout.yml
- template: ./find-sdk.yml - template: ./find-sdk.yml
- powershell: |
$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
displayName: 'Update signing description'
condition: and(succeeded(), not(variables['SigningDescription']))
- task: DownloadBuildArtifacts@0 - task: DownloadBuildArtifacts@0
displayName: 'Download Artifact: unsigned_msix' displayName: 'Download Artifact: unsigned_msix'
inputs: inputs:

View File

@ -26,6 +26,12 @@ jobs:
- template: ./checkout.yml - template: ./checkout.yml
- template: ./find-sdk.yml - template: ./find-sdk.yml
- powershell: |
$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
displayName: 'Update signing description'
condition: and(succeeded(), not(variables['SigningDescription']))
- powershell: | - powershell: |
Write-Host "##vso[build.addbuildtag]signed" Write-Host "##vso[build.addbuildtag]signed"
displayName: 'Add build tags' displayName: 'Add build tags'

View File

@ -0,0 +1 @@
Fixes the description that appears in UAC prompts.