We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bff4151 commit 3b378b1Copy full SHA for 3b378b1
1 file changed
.github/workflows/wingetcreate.ps1
@@ -31,11 +31,17 @@ $dependency = @"
31
- PackageIdentifier: Microsoft.PowerShell
32
MinimumVersion: "7.0.0"
33
"@
34
+
35
# Remove existing top-level Dependencies block (if any), then insert ours
36
37
$content = $content -replace '(?m)^Dependencies:\r?\n([ ]+.+\r?\n)*', ''
- $content = $content -replace '(?m)^Installers:', "$dependency`nInstallers:"
- Set-Content -Path $installerManifest -Value $content
38
39
+$content = $content -replace '(?m)^Installers:', "$dependency`nInstallers:"
40
41
+Set-Content -Path $installerManifest -Value $content
42
43
# Submit the modified manifest
44
45
$manifestPath = Split-Path $installerManifest
- .\wingetcreate.exe submit $manifestPath
46
47
+.\wingetcreate.exe submit $manifestPath
0 commit comments