Commit e99ede0 1 parent e536c32 commit e99ede0 Copy full SHA for e99ede0
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ Function P {
14
14
15
15
if (! (Get-Command - Name ' pwsh.exe' - ErrorAction Ignore)) {
16
16
try {
17
- Write-Verbose - Verbose - Message ' Trying to Install PowerShell Core using Winget because it could not be found' - Verbose
17
+ Write-Verbose - Message ' Trying to Install PowerShell Core using Winget because it could not be found' - Verbose
18
18
$null = Winget install 9MZ1SNWT0N5D -- accept- package- agreements -- accept- source- agreements
19
19
}
20
20
catch {
21
21
22
22
Push-Location - Path ([System.IO.Path ]::GetTempPath())
23
23
24
- Write-Verbose - Verbose - Message ' Failed to Install PowerShell Core using Winget' - Verbose
24
+ Write-Verbose - Message ' Failed to Install PowerShell Core using Winget' - Verbose
25
25
$progressPreference = ' silentlyContinue'
26
- Write-Verbose - Verbose - Message ' Downloading WinGet and its dependencies...' - Verbose
26
+ Write-Verbose - Message ' Downloading WinGet and its dependencies...' - Verbose
27
27
# https://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget-on-windows-sandbox
28
28
Invoke-WebRequest - Uri ' https://aka.ms/getwinget' - OutFile ' Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle'
29
29
Invoke-WebRequest - Uri ' https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx' - OutFile ' Microsoft.VCLibs.x64.14.00.Desktop.appx'
@@ -40,7 +40,7 @@ Function P {
40
40
Pop-Location
41
41
}
42
42
43
- Write-Verbose - Verbose - Message ' Trying to Install PowerShell Core using Winget again' - Verbose
43
+ Write-Verbose - Message ' Trying to Install PowerShell Core using Winget again' - Verbose
44
44
# https://apps.microsoft.com/detail/9mz1snwt0n5d
45
45
$null = Winget install 9MZ1SNWT0N5D -- accept- package- agreements -- accept- source- agreements
46
46
}
You can’t perform that action at this time.
0 commit comments