diff --git a/Casks/m/megasync.rb b/Casks/m/megasync.rb index 274d21f12b21..179f6f39b7c7 100644 --- a/Casks/m/megasync.rb +++ b/Casks/m/megasync.rb @@ -1,7 +1,7 @@ cask "megasync" do arch arm: "Arm64" - version "5.4.1" + version "5.4.1.0" sha256 :no_check url "https://mega.nz/MEGAsyncSetup#{arch}.dmg" @@ -10,8 +10,8 @@ homepage "https://mega.nz/sync" livecheck do - url :url - strategy :extract_plist + url "https://github.com/meganz/MEGAsync" + regex(/^v?(\d+(?:\.\d+)+)[._-]OSX$/i) end auto_updates true