We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3db7fa8 commit b695b77Copy full SHA for b695b77
1 file changed
.github/workflows/windows.yml
@@ -12,6 +12,7 @@ permissions:
12
env:
13
PROJECT_NAME: Nickvision.Application.WinUI
14
INSTALLER_NAME: NickvisionApplicationSetup
15
+ SHORT_NAME: Application
16
jobs:
17
winui-windows:
18
name: "WinUI on Windows"
@@ -65,7 +66,7 @@ jobs:
65
66
New-Item -ItemType Directory -Force -Path "$portableDir\Release" | Out-Null
67
Copy-Item -Path "$publishDir\*" -Destination "$portableDir\Release" -Recurse
68
$WshShell = New-Object -comObject WScript.Shell
- $Shortcut = $WshShell.CreateShortcut("$portableDir\Parabolic.lnk")
69
+ $Shortcut = $WshShell.CreateShortcut("$portableDir\${{ env.SHORT_NAME }}.lnk")
70
$Shortcut.TargetPath = "Release\${{ env.PROJECT_NAME }}.exe"
71
$Shortcut.Arguments = "--portable"
72
$Shortcut.Save()
0 commit comments