Skip to content

Commit

Permalink
Merge pull request #72 from kdpuvvadi/Appx
Browse files Browse the repository at this point in the history
import appx module if pwsh core
  • Loading branch information
Romanitho committed Nov 29, 2022
2 parents 4804e66 + f2dbb73 commit 1720cfa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/Winget-Install-GUI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ https://github.com/Romanitho/Winget-AllinOne

<# APP INFO #>

# import Appx module if the powershell version is 7/core
if ( $psversionTable.PSEdition -eq "core" ) {
import-Module -name Appx -UseWIndowsPowershell -WarningAction:SilentlyContinue
}

$Script:WiGuiVersion = "1.8.0"
$Script:WAUGithubLink = "https://github.com/Romanitho/Winget-AutoUpdate/archive/refs/tags/v1.15.0.zip"
$Script:WIGithubLink = "https://github.com/Romanitho/Winget-Install/archive/refs/tags/v1.8.1.zip"
Expand Down

0 comments on commit 1720cfa

Please sign in to comment.