Skip to content

Commit 625ad6d

Browse files
committed
refinement: update alpaca to v1.1.0
* Update alpaca bin to v1.1.0 * Move logs from ~/ to ~/Library/Logs.
1 parent 2b0ea85 commit 625ad6d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

bin/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ else
3434
--verbose \
3535
--location \
3636
--output src/bin/alpaca \
37-
https://github.com/samuong/alpaca/releases/download/v1.0.0/darwin-amd64
37+
https://github.com/samuong/alpaca/releases/download/v1.1.0/darwin-amd64
3838
fi
3939

4040
cp \

src/alpaca.3s.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
# Configuration
66

7+
PLIST_NAME = "com.github.alpaca"
8+
LOG_PATH = File.join(Dir.home, "/Library/Logs/#{PLIST_NAME}.log")
9+
PLIST_PATH = File.expand_path(File.join(Dir.home, "/Library/LaunchAgents/#{PLIST_NAME}.plist"))
710
APP_PATH = File.join(File.expand_path(File.dirname(File.dirname(__FILE__))), "MacOS")
811
ALPACA_PATH = File.join(APP_PATH, "/bin/alpaca")
912
INSTALL_PATH = File.join(APP_PATH, "/bin/install")
1013
UNINSTALL_PATH = File.join(APP_PATH, "/bin/uninstall")
11-
LOG_PATH = File.join(Dir.home, ".alpaca.log")
12-
PLIST_NAME = "com.github.alpaca"
13-
PLIST_PATH = File.expand_path(File.join(Dir.home, "/Library/LaunchAgents/#{PLIST_NAME}.plist"))
1414
ICON_BASE64 = Base64.strict_encode64(IO.read(File.join(APP_PATH, "/img/icon.png"))).chomp
1515

1616
def running?(plist_name)

0 commit comments

Comments
 (0)