desoto-photoapp 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e14497357a7a888002fd392171b566d57ac93c5
4
- data.tar.gz: 742a005d635e162ddbc63e72c187bf67316dd689
3
+ metadata.gz: 9c732b1eb807942dcfc70c1c8b6afeeddef18e3b
4
+ data.tar.gz: d20150a712cee7748e153bf967179bb231f98574
5
5
  SHA512:
6
- metadata.gz: 9262923cb94aeec4decfffbe280aa81c9337c75c3401b688eb400603502a392b8e4ce690f17ba77c24d9103e14500337efbd8c374a6951c8b4a934a3f227738c
7
- data.tar.gz: 5110290f144baae3f0bd5b740a94aa376fea3053323b3d62953fdeb518bfec2f31cdb2785a1d8cee9089ddffa0cd3c4f1078e00546fe10b2a745ddddb7b4bb61
6
+ metadata.gz: eca83970df72c553de5115369a95ecef06baf4c16c7d2c0530904a5c9982436a3820faf17ee28a89421ad4f15446923e95cb2238a1bacec393a52c412bb2ef76
7
+ data.tar.gz: 86e25ed70b5185bc0788bb9031aea1ede47cfaa314596a2b5d4dd168807aaa2a101c93952435cb035babe5f95eb9629e9b12ea50619acbaa51fbad0a91d47c56
data/exe/photoapp CHANGED
@@ -14,10 +14,15 @@ OptionParser.new do |opts|
14
14
  end.parse!
15
15
 
16
16
  def update
17
- system "ln -s #{Photoapp.gem_dir('assets/Reprint.app')} /Applications/"
18
- system "ln -s #{Photoapp.gem_dir('assets/Update.app')} /Applications/"
19
- system "mkdir -p ~/Library/Workflows/Applications/Folder\\ Actions/"
20
- system "ln -s #{Photoapp.gem_dir('assets/photoapp-process.workflow')} #{File.expand_path("~/Library/Workflows/Applications/Folder\\ Actions/")}"
17
+ %w(Reprint Update).each do |app|
18
+ FileUtils.rm "/Applications/#{app}.app"
19
+ system "ln -s #{Photoapp.gem_dir("assets/#{app}.app")} /Applications/"
20
+ end
21
+
22
+ folder_actions_path = File.expand_path("~/Library/Workflows/Applications/Folder\\ Actions/")
23
+ system "mkdir -p #{folder_actions_path}"
24
+ system "rm -rf #{File.join(folder_actions_path, "photoapp-process.workflow")}"
25
+ system "ln -s #{Photoapp.gem_dir('assets/photoapp-process.workflow')} #{folder_actions_path}"
21
26
  end
22
27
 
23
28
  def actions
@@ -1,2 +1,2 @@
1
1
  module Photoapp
2
- VERSION = "0.3.1" end
2
+ VERSION = "0.3.2" end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: desoto-photoapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis