Skip to content

Commit b695b77

Browse files
committed
fix: Shortcut name
1 parent 3db7fa8 commit b695b77

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ permissions:
1212
env:
1313
PROJECT_NAME: Nickvision.Application.WinUI
1414
INSTALLER_NAME: NickvisionApplicationSetup
15+
SHORT_NAME: Application
1516
jobs:
1617
winui-windows:
1718
name: "WinUI on Windows"
@@ -65,7 +66,7 @@ jobs:
6566
New-Item -ItemType Directory -Force -Path "$portableDir\Release" | Out-Null
6667
Copy-Item -Path "$publishDir\*" -Destination "$portableDir\Release" -Recurse
6768
$WshShell = New-Object -comObject WScript.Shell
68-
$Shortcut = $WshShell.CreateShortcut("$portableDir\Parabolic.lnk")
69+
$Shortcut = $WshShell.CreateShortcut("$portableDir\${{ env.SHORT_NAME }}.lnk")
6970
$Shortcut.TargetPath = "Release\${{ env.PROJECT_NAME }}.exe"
7071
$Shortcut.Arguments = "--portable"
7172
$Shortcut.Save()

0 commit comments

Comments
 (0)