Skip to content

Commit

Permalink
wpsoffice: fix livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscaner committed Aug 29, 2024
1 parent 2c51de8 commit e6c6111
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Casks/wpsoffice-installer.rb → Casks/wpsoffice-en.rb
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
cask "wpsoffice-installer" do
version "0024.21300042"
cask "wpsoffice-en" do
arch arm: "arm64", intel: "x64"
version "0024.21300060"
sha256 :no_check

url "https://wdl1.pcfg.cache.wpscdn.com/wpsdl/macwpsoffice/download/installer/WPS_Office_Installer_#{version}.zip"
url "https://wdl1.pcfg.cache.wpscdn.com/wpsdl/macwpsoffice/download/installer/WPSOffice_#{arch}_0024.21300060.dmg",
verified: "wdl1.pcfg.cache.wpscdn.com/"
name "WPS Office"
desc "AI-Powered Office Suite for Everyone"
homepage "https://www.wps.com/"

livecheck do
skip "No version information available"
url :url
strategy :extract_plist
end

auto_updates true
depends_on macos: ">= :el_capitan"

installer script: {
executable: "WPS Office Installer.app/Contents/MacOS/WPS Office Installer",
args: ["-q"],
}
app "wpsoffice.app"

uninstall quit: "com.kingsoft.wpsoffice.mac.global"

zap trash: [
"/Application/WPS Office.app",
Expand Down

0 comments on commit e6c6111

Please sign in to comment.