Skip to content

Commit

Permalink
Add workflow step to display example shortcut context menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
rpanderson committed May 14, 2020
1 parent 3229cb4 commit 1051644
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,10 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: screenshot
path: screenshot.png
path: screenshot.png
- name: Get shortcut context items
run: |
$shell = new-object -com "Shell.Application"
$folder = $shell.Namespace("$Env:APPDATA\Microsoft\Windows\Start Menu\Programs\Old McDonald's Farm")
$item = $folder.Parsename("Oink App.lnk")
$item.Verbs()

0 comments on commit 1051644

Please sign in to comment.