Skip to content

Commit

Permalink
(#32) Update install logic for Chocolatey-AU
Browse files Browse the repository at this point in the history
  • Loading branch information
corbob committed Mar 8, 2024
1 parent bde86c1 commit f6eea2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions chocolatey/tools/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

<#
.SYNOPSIS
AU install script
Chocolatey-AU install script
.NOTES
Always install AU versionless in Program Files to support older PowerShell versions ( v < 5 )
Multiple AU versions can be installed using Install-Module if needed (on Posh 5+).
Always install Chocolatey-AU versionless in Program Files to support older PowerShell versions ( v < 5 )
Multiple Chocolatey-AU versions can be installed using Install-Module if needed (on Posh 5+).
#>
param(
#If given it is path to the module to be installed.
Expand All @@ -19,7 +19,7 @@ param(

$ErrorActionPreference = 'Stop'

$module_name = 'AU'
$module_name = 'Chocolatey-AU'

if ($PSVersionTable.PSEdition -ne "Core") {
$module_dst = "$Env:ProgramFiles\WindowsPowerShell\Modules"
Expand Down
3 changes: 2 additions & 1 deletion scripts/Install-AU.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ if ($is_branch) {

git checkout -q $Version

./build.ps1
./build.ps1 -Task Build
.\code_drop\temp\chocolateyPackage\tools\install.ps1

Pop-Location

0 comments on commit f6eea2d

Please sign in to comment.