Skip to content

Commit

Permalink
Updated cask file and added livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Elferink committed Nov 30, 2024
1 parent bfd0ac9 commit 77be95f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Casks/syride-sys-pc-tool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@
desc "Necessary for downloading flights, customizing screens, upgrading instrument"
homepage "https://www.syride.com/"

livecheck do
url "https://www.syride.com/downloads/"
regex(/href=.*?syride[._-]v?(\d+(?:\.\d+)+)\.pkg/i)
end

auto_updates true
depends_on macos: ">= :sierra"

pkg "SYS_PC_TOOL_setup_mac-#{version}.pkg",
choices: []
pkg "SYS_PC_TOOL_setup_mac-#{version}.pkg"

uninstall pkgutil: [],
delete: "/Applications/SYS-PC-Tool.app"
uninstall pkgutil: [

Check failure on line 20 in Casks/syride-sys-pc-tool.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Cask/ArrayAlphabetization: Avoid single-element arrays by removing the []
delete: "/Applications/SYS-PC-Tool.app"

Check failure on line 21 in Casks/syride-sys-pc-tool.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Style/TrailingCommaInArrayLiteral: Put a comma after the last item of a multiline array.

Check failure on line 21 in Casks/syride-sys-pc-tool.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/ExtraSpacing: Unnecessary spacing detected.
]

zap trash: [

Check failure on line 24 in Casks/syride-sys-pc-tool.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Cask/ArrayAlphabetization: Avoid single-element arrays by removing the []
"~/Library/Saved Application State/Syride.SYS-PC-Tool.savedState",
Expand Down

0 comments on commit 77be95f

Please sign in to comment.