Skip to content

Commit

Permalink
Create LNK to launch SP5ToICalExp via PowerShell, keeping the session…
Browse files Browse the repository at this point in the history
… open
  • Loading branch information
mschabhuettl authored Mar 18, 2024
1 parent 636d56f commit 72a9890
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ jobs:
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut("$env:GITHUB_WORKSPACE\CitrixStartSP5ToICalExp.lnk")
$Shortcut.TargetPath = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
$Shortcut.Arguments = "-ExecutionPolicy Bypass -File `"$env:GITHUB_WORKSPACE\dist\SP5ToICalExp\SP5ToICalExp.exe`""
# Stellen Sie sicher, dass der Pfad zu SP5ToICalExp.exe absolut ist oder relativ korrekt von der LNK-Datei aus aufgelöst wird
$Shortcut.Arguments = "-NoExit -ExecutionPolicy Bypass -File `"$env:GITHUB_WORKSPACE\dist\SP5ToICalExp\SP5ToICalExp.exe`""
$Shortcut.WorkingDirectory = "$env:GITHUB_WORKSPACE\dist\SP5ToICalExp"
$Shortcut.Save()
shell: pwsh
Expand Down

0 comments on commit 72a9890

Please sign in to comment.