4 version "2024.3,243.21565.180"
5 sha256 arm: "b3fed87c00746694419b0da71baf71ebb10a8c3803c5a1502c689ff9ce7831f4",
6 intel: "fccac67e93d69ad98a36b0b8c092913fbc8bfc06b1cb7ee3932bad4394f78c78"
8 url "https://download.jetbrains.com/webstorm/WebStorm-#{version.csv.first}#{arch}.dmg"
11 homepage "https://www.jetbrains.com/webstorm/"
14 url "https://data.services.jetbrains.com/products/releases?code=WS&latest=true&type=release"
15 strategy :json do |json|
16 json["WS"]&.map do |release|
17 version = release["version"]
18 build = release["build"]
19 next if version.blank? || build.blank?
27 depends_on macos: ">= :high_sierra"
30 binary "#{appdir}/WebStorm.app/Contents/MacOS/webstorm"
33 "~/Library/Application Support/JetBrains/WebStorm#{version.major_minor}",
34 "~/Library/Caches/com.apple.nsurlsessiond/Downloads/com.jetbrains.WebStorm",
35 "~/Library/Caches/JetBrains/WebStorm#{version.major_minor}",
36 "~/Library/Logs/JetBrains/WebStorm#{version.major_minor}",
37 "~/Library/Preferences/com.jetbrains.WebStorm.plist",
38 "~/Library/Preferences/jetbrains.webstorm.*.plist",
39 "~/Library/Preferences/WebStorm#{version.major_minor}",
40 "~/Library/Preferences/webstorm.plist",
41 "~/Library/Saved Application State/com.jetbrains.WebStorm.savedState",