dmg 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dmg/pkg.rb +1 -1
- data/lib/dmg/version.rb +1 -1
- metadata +3 -3
data/lib/dmg/pkg.rb
CHANGED
@@ -38,7 +38,7 @@ module DMG
|
|
38
38
|
return
|
39
39
|
end
|
40
40
|
|
41
|
-
|
41
|
+
run_cmd("curl -L #{url} -o #{dmg_file}")
|
42
42
|
run_cmd("hdid #{dmg_file}")
|
43
43
|
run_cmd "sudo cp -r '/Volumes/#{volume_dir}/#{package}.app' #{destination}"
|
44
44
|
run_cmd "hdiutil detach '/Volumes/#{volume_dir}'"
|
data/lib/dmg/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dmg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Philippe Creux
|