File tree 1 file changed +15
-5
lines changed
1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 1
1
cask "idrive" do
2
- version "3.5.10.79 "
3
- sha256 :no_check
2
+ version "3.5.10.80,070624 "
3
+ sha256 "231518ded3b6273e56ae68c98bfb068d90c6a7e836fa761f29ad8d402d243714"
4
4
5
- url "https://www.idrive.com/downloads/IDrive.dmg"
5
+ url "https://static.idriveonlinebackup.com/downloads/#{ version . csv . second } /IDrive.dmg" ,
6
+ verified : "static.idriveonlinebackup.com/downloads/"
6
7
name "iDrive"
7
8
desc "Cloud backup and storage solution"
8
9
homepage "https://www.idrive.com/"
9
10
10
11
livecheck do
11
- url :url
12
- strategy :extract_plist
12
+ url "https://static.idriveonlinebackup.com/downloads/version_mac.js"
13
+ strategy :page_match do |page |
14
+ version_match = page . match ( /Version:?\s *v?(\d +(?:\. \d +)+)/i )
15
+ next if version_match . blank?
16
+
17
+ id_match = page . match ( %r{downloads/([^/]+?)/}i )
18
+ next if id_match . blank?
19
+
20
+ "#{ version_match [ 1 ] } ,#{ id_match [ 1 ] } "
21
+ end
13
22
end
14
23
15
24
pkg "IDrive.pkg"
16
25
17
26
uninstall launchctl : [
18
27
"com.iDrive.FinderPluginApp" ,
28
+ "com.prosoftnet.DaemonHelper" ,
19
29
"IDriveDaemon" ,
20
30
"IDSyncDaemon" ,
21
31
"IDWifiManager" ,
You can’t perform that action at this time.
0 commit comments