Skip to content

Commit

Permalink
Create Citrix environment shortcut with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mschabhuettl authored Mar 18, 2024
1 parent 72a9890 commit 5b52647
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ 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"
# 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.Arguments = "-ExecutionPolicy Bypass -NoExit -Command `"Start-Process '$env:GITHUB_WORKSPACE\SP5ToICalExp.exe' -WorkingDirectory '$env:GITHUB_WORKSPACE'`""
$Shortcut.Save()
shell: pwsh
if: runner.os == 'Windows'
Expand Down

0 comments on commit 5b52647

Please sign in to comment.