Skip to content

Commit

Permalink
Merge pull request #861 from mandiant/install-shortcut-args-fix
Browse files Browse the repository at this point in the history
Fix variable name in VM-Install-Shortcut
  • Loading branch information
Ana06 authored Jan 29, 2024
2 parents 7a494ba + 4306383 commit c894dae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/common.vm/common.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>common.vm</id>
<version>0.0.0.20240119</version>
<version>0.0.0.20240123</version>
<description>Common libraries for VM-packages</description>
<authors>Mandiant</authors>
</metadata>
Expand Down
2 changes: 1 addition & 1 deletion packages/common.vm/tools/vm.common/vm.common.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ function VM-Install-Shortcut{
IconLocation = $iconLocation
}
if ($runAsAdmin) {
$packageArgs.RunAsAdmin = $true
$shortcutArgs.RunAsAdmin = $true
}

Install-ChocolateyShortcut @shortcutArgs
Expand Down

0 comments on commit c894dae

Please sign in to comment.