xcode-install 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xcode/install.rb +2 -1
- data/lib/xcode/install/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e45140d056f5e42c4e07c2c319d6054e1ce00ea
|
4
|
+
data.tar.gz: 7791a902568ca8c67b807e957a00c06ce8276829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 389e5345d4c1c2823b7a05d98af2d44a8b0601381d15f4a15318031a211f12abf221fa7c50fb17a86bef8701f5df81433ed8d402af60e733469b48f1d78b427c
|
7
|
+
data.tar.gz: 5a25e27292ae3f9f1a0b860859d5477cf082ed3c27c7070f406ef72bb8a424d1b238b557343596d48660cdfe44bdde1e0a961911216d240e300f6392e18b046d
|
data/lib/xcode/install.rb
CHANGED
@@ -92,7 +92,8 @@ module XcodeInstall
|
|
92
92
|
|
93
93
|
`hdiutil mount -nobrowse -noverify #{dmgPath}`
|
94
94
|
puts 'Please authenticate for Xcode installation...'
|
95
|
-
|
95
|
+
source = Dir.glob('/Volumes/Xcode/Xcode*.app').first
|
96
|
+
`sudo ditto "#{source}" "#{xcode_path}"`
|
96
97
|
`umount "/Volumes/Xcode"`
|
97
98
|
|
98
99
|
`sudo xcode-select -s #{xcode_path}`
|