Skip to content

Commit

Permalink
fix(#488): flowus style
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscaner committed Jan 17, 2025
1 parent 3030c15 commit 5f33211
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Casks/f/flowus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

url "https://desktopdownload2.flowus.cn/production/mac/flowus-mac-#{arch}.zip",
user_agent: :fake,
header: [
"Referer: https://flowus.cn/"
header: [
"Referer: https://flowus.cn/",
]
name "flowus"
desc "类 Notion 和飞书的笔记协作软件"
Expand All @@ -20,7 +20,7 @@
livecheck do
url "https://flowus.cn/download"
strategy :page_match do |page|
page.scan(%r{download-([0-9a-f]+)\.js}).map do |match|
page.scan(/download-([0-9a-f]+)\.js/).map do |match|
uri = URI("https://cdn2.flowus.cn/assets/_next/static/chunks/pages/download-#{match[0]}.js")
res = Net::HTTP.get_response(uri)

Expand All @@ -37,9 +37,9 @@

zap trash: [
"/Applications/flowus.app",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.flowus.app.sfl*",
"~/Library/Application Support/FlowUs",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.flowus.app.sfl3",
"~/Library/Preferences/com.flowus.app.plist",
"~/Library/Saved Application State/com.flowus.app.savedState"
"~/Library/Saved Application State/com.flowus.app.savedState",
]
end

0 comments on commit 5f33211

Please sign in to comment.