Skip to content

Commit

Permalink
Merge pull request #939 from Ana06/template
Browse files Browse the repository at this point in the history
[create_package_template] Improve template
  • Loading branch information
Ana06 authored Mar 6, 2024
2 parents a7711e0 + 8581b5b commit 0b7f4d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/utils/create_package_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,8 @@ def package_version(dependency_version):
$category = '{category}'
$shimPath = '{shim_path}'
$shortcutDir = Join-Path ${{Env:TOOL_LIST_DIR}} $category
$shortcut = Join-Path $shortcutDir "$toolName.lnk"
$executablePath = Join-Path ${{Env:ChocolateyInstall}} $shimPath -Resolve
VM-Install-Shortcut -toolName $toolName -category $category -executablePath $executablePath -runAsAdmin
VM-Assert-Path $shortcut
}} catch {{
VM-Write-Log-Exception $_
}}
Expand Down

0 comments on commit 0b7f4d8

Please sign in to comment.