This repository was archived by the owner on Sep 15, 2018. It is now read-only.
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ OptionParser.new do |opts|
50
50
51
51
opts . on ( '--remove' , "Remove captured from launchd" ) do
52
52
puts "Uninstalling captured"
53
- File . delete "#{ ENV [ 'HOME' ] } /Library/LaunchAgents/com.github.csexton .captured"
54
- system "launchctl remove com.github.csexton .captured"
53
+ File . delete "#{ ENV [ 'HOME' ] } /Library/LaunchAgents/com.codeography .captured"
54
+ system "launchctl remove com.codeography .captured"
55
55
exit
56
56
end
57
57
@@ -88,7 +88,7 @@ if options[:install] == true
88
88
plist_path = "#{ ENV [ 'HOME' ] } /Library/LaunchAgents/"
89
89
template = ERB . new ( File . open ( "#{ File . dirname ( __FILE__ ) } /../etc/launchd.plist.erb" , 'r' ) . read )
90
90
FileUtils . mkdir_p plist_path
91
- File . open ( "#{ plist_path } /com.github.csexton .captured" , 'w' ) do |f |
91
+ File . open ( "#{ plist_path } /com.codeography .captured" , 'w' ) do |f |
92
92
f . write ( template . result ( binding ) )
93
93
end
94
94
system "launchctl load ~/Library/LaunchAgents"
Original file line number Diff line number Diff line change 3
3
< plist version ="1.0 ">
4
4
< dict >
5
5
< key > Label</ key >
6
- < string > com.github.csexton .captured</ string >
6
+ < string > com.codeography .captured</ string >
7
7
< key > LowPriorityIO</ key >
8
8
< true />
9
9
< key > Program</ key >
You can’t perform that action at this time.
0 commit comments