Skip to content

Commit

Permalink
Fleet: add Desktop Shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadow-XT committed Oct 29, 2024
1 parent 600662b commit a9cfd58
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bucket/Fleet.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@
"Fleet"
]
],
"post_install": [
"$linkPath = Join-Path ([Environment]::GetFolderPath('Desktop')) 'Fleet.lnk'",
"$targetPath = Join-Path $dir Fleet.exe",
"$link = (New-Object -ComObject WScript.Shell).CreateShortcut($linkPath)",
"$link.TargetPath = $targetPath",
"$link.Save()"
],
"pre_uninstall": [
"$linkPath = Join-Path ([Environment]::GetFolderPath('Desktop')) 'Fleet.lnk'",
"if (Test-Path $linkPath) { Remove-Item $linkPath }"
],
"checkver": {
"url": "https://data.services.jetbrains.com/products/releases?code=FL&latest=true&type=preview",
"jsonpath": "$.FL..version"
Expand Down

0 comments on commit a9cfd58

Please sign in to comment.