This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ErrorActionPreference = "Stop" | |
$FirefoxRoot = "C:\Users\Easton Pillay\projects\winget-pkgs\manifests\m\Mozilla\Firefox\Firefox\" | |
$PATH_TO_PR_BODY = "C:\Users\Easton Pillay\projects\qprbody.md" | |
$committedBranches = @() | |
Set-Location $FirefoxRoot | |
git checkout master | |
git remote add upstream https://github.com/microsoft/winget-pkgs/ | |
git fetch --all | |
$versions = Get-ChildItem -Directory | Select-Object Name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ErrorActionPreference = "Stop" | |
$apiLatestUrl = 'https://api.github.com/repos/microsoft/winget-cli/releases/latest' | |
$tempFolder = $env:TEMP | |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 | |
$WebClient = New-Object System.Net.WebClient | |
function Update-EnvironmentVariables { | |
foreach($level in "Machine","User") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$errorActionPreference = "Stop" | |
$products = @( | |
@{ | |
manifestId = "JetBrains.PyCharm.Community"; | |
jetbrainsId = "PCC"; | |
}, | |
@{ | |
manifestId = "JetBrains.PyCharm.Professional"; | |
jetbrainsId = "PCP"; | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-ARPTable { | |
$registry_paths = @('HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*','HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*', 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*', 'HKCU:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*') | |
return Get-ItemProperty $registry_paths -ErrorAction SilentlyContinue | | |
Select-Object DisplayName, DisplayVersion, Publisher, @{N='ProductCode'; E={$_.PSChildName}}| | |
Where-Object {$null -ne $_.DisplayName } | | |
Where-Object {$null -ne $_.DisplayVersion } | | |
Where-Object {$null -ne $_.Publisher } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Given the PR number, see what the status of the pipeline is. | |
Param( | |
[Parameter(Position = 0, HelpMessage = "The Pull Request to check on.", Mandatory = $true)] | |
[String] $PullRequest | |
) | |
$ErrorActionPreference = "Stop" | |
$ProgressPreference = "SilentlyContinue" | |
$url = "https://dev.azure.com/ms/winget-pkgs/_apis/build/builds?branchName=refs/pull/$PullRequest/merge&api-version=6.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@@@@@@@@@@@@@@@@@@@@@@@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