-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
notebooks.rb
32 lines (27 loc) · 1.19 KB
/
notebooks.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cask "notebooks" do
version "3.6.1"
sha256 "53be74668028620df3e6f9d8c776d323c65fdccfb092fdea6274fdc7f94b39b5"
url "https://www.notebooksapp.com/Download/macOS/v#{version.major}/Notebooks.dmg"
name "Notebooks"
desc "Word processor"
homepage "https://www.notebooksapp.com/mac/"
livecheck do
url "https://notebooksapp.com/Download/macOS/v#{version.major}/Notebooks#{version.major}Appcast.xml"
strategy :sparkle, &:short_version
end
depends_on macos: ">= :sierra"
app "Notebooks.app"
zap trash: [
"~/Library/Application Scripts/com.aschmid.notebooks2.ShareExtension",
"~/Library/Application Scripts/XZ68B7E678.com.aschmid.notebooks2",
"~/Library/Application Support/com.aschmid.notebooks2",
"~/Library/Application Support/Notebooks",
"~/Library/Caches/com.aschmid.notebooks2",
"~/Library/Containers/com.aschmid.notebooks2.ShareExtension",
"~/Library/Group Containers/XZ68B7E678.com.aschmid.notebooks2",
"~/Library/HTTPStorages/com.aschmid.notebooks2",
"~/Library/HTTPStorages/com.aschmid.notebooks2.binarycookies",
"~/Library/Preferences/com.aschmid.notebooks2.plist",
"~/Library/Saved Application State/com.aschmid.notebooks2.savedState",
]
end