File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11class Bookokrat < Formula
22 desc "Terminal EPUB Book Reader"
33 homepage "https://bugzmanov.github.io/bookokrat/index.html"
4- url "https://github.com/bugzmanov/bookokrat/archive/refs/tags/v0.3.4 .tar.gz"
5- sha256 "c4871e93ce57ee32693c2f6358782dedc920cf139a266ae26f3d958202854284 "
4+ url "https://github.com/bugzmanov/bookokrat/archive/refs/tags/v0.3.5 .tar.gz"
5+ sha256 "0751669309b657aacf5bb22577d9b42d07e9f70b92aada2e717df189aeb1e72e "
66 license "AGPL-3.0-or-later"
77 head "https://github.com/bugzmanov/bookokrat.git" , branch : "main"
88
@@ -39,13 +39,14 @@ def install
3939 end
4040
4141 sleep 2
42- config_prefix = if OS . mac?
43- testpath /"Library/Application Support/bookokrat"
42+ config_prefix , log_prefix = if OS . mac?
43+ [ testpath /"Library/Application Support/bookokrat" , testpath / "Library/Caches/bookokrat" ]
4444 else
45- testpath /".config/bookokrat"
45+ [ testpath /".config/bookokrat" , testpath / ".local/state/bookokrat" ]
4646 end
47+ system "ls" , "-alR"
4748 assert_path_exists config_prefix /"config.yaml"
48- assert_match "Starting Bookokrat EPUB reader" , ( testpath /"bookokrat.log" ) . read
49+ assert_match "Starting Bookokrat EPUB reader" , ( log_prefix /"bookokrat.log" ) . read
4950 ensure
5051 Process . kill ( "TERM" , pid )
5152 Process . wait ( pid )
You can’t perform that action at this time.
0 commit comments