lib/run_loop/app.rb in run_loop-1.5.1 vs lib/run_loop/app.rb in run_loop-1.5.2
- old
+ new
@@ -65,9 +65,14 @@
raise "Expected key 'CFBundleExecutable' in '#{info_plist_path}'"
end
identifier
end
+ # Returns the sha1 of the application.
+ def sha1
+ RunLoop::Directory.directory_digest(path)
+ end
+
private
def plist_buddy
@plist_buddy ||= RunLoop::PlistBuddy.new
end