iesd 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/iesd.gemspec +1 -1
- data/lib/iesd/InstallESD.rb +2 -2
- data/lib/iesd/InstallESD/InstallESD.dmg.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08f5436118e93c30a2c896eebc960776a3616626
|
4
|
+
data.tar.gz: 3f1abc2debfb538a8fea83c0269183db9dde04d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60d04b8d9b0b6b94ca8a779cbe386c7c03d31fa75744f8cee2ad8d70b35d64fc9280a82441058426f93e704c30b9218b176bd844ff572d072143e07ac58967f0
|
7
|
+
data.tar.gz: 370c9303c0c528c684ee4e3cfca2177ceb94b38f1e0f2fb4776882c877c415692895bcd5be579e0d001763842fbdda072f37092a4f5be550d3adeb206fc8476d
|
data/iesd.gemspec
CHANGED
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
|
|
2
2
|
s.required_ruby_version = ">= 1.9.2"
|
3
3
|
|
4
4
|
s.name = "iesd"
|
5
|
-
s.version = "1.2.
|
5
|
+
s.version = "1.2.2"
|
6
6
|
s.summary = "Customize OS X InstallESD."
|
7
7
|
s.description = "Modify Extensions, Kextcache and Packages on InstallESD."
|
8
8
|
s.authors = "なつき"
|
data/lib/iesd/InstallESD.rb
CHANGED
@@ -33,10 +33,10 @@ module IESD
|
|
33
33
|
case
|
34
34
|
when (File.exist? File.join(mountpoint, *%w[ .IABootFiles ]))
|
35
35
|
i = IESD::DMG::InstallOSX.new url
|
36
|
-
when (File.exist? File.join(mountpoint, *%w[ BaseSystem.dmg ]))
|
37
|
-
i = IESD::DMG::InstallESD.new url
|
38
36
|
when (File.exist? File.join(mountpoint, *%w[ System Installation ]))
|
39
37
|
i = IESD::DMG::BaseSystem.new url
|
38
|
+
when (File.exist? File.join(mountpoint, *%w[ BaseSystem.dmg ]))
|
39
|
+
i = IESD::DMG::InstallESD.new url
|
40
40
|
else
|
41
41
|
raise "unknown type"
|
42
42
|
end
|
@@ -29,6 +29,18 @@ module IESD
|
|
29
29
|
|
30
30
|
show { |installesd|
|
31
31
|
IESD::DMG::BaseSystem.new(File.join(installesd, "BaseSystem.dmg")).export(options) { |basesystem|
|
32
|
+
installesd_basesystem_dmg = File.join installesd, "BaseSystem.dmg"
|
33
|
+
basesystem_basesystem_dmg = File.join basesystem, "BaseSystem.dmg"
|
34
|
+
oh1 "Copying #{installesd_basesystem_dmg}"
|
35
|
+
system("/usr/bin/env", "ditto", installesd_basesystem_dmg, basesystem_basesystem_dmg)
|
36
|
+
puts "Copied: #{basesystem_basesystem_dmg}"
|
37
|
+
|
38
|
+
installesd_basesystem_chunklist = File.join installesd, "BaseSystem.chunklist"
|
39
|
+
basesystem_basesystem_chunklist = File.join basesystem, "BaseSystem.chunklist"
|
40
|
+
oh1 "Copying #{installesd_basesystem_chunklist}"
|
41
|
+
system("/usr/bin/env", "ditto", installesd_basesystem_chunklist, basesystem_basesystem_chunklist)
|
42
|
+
puts "Copied: #{basesystem_basesystem_chunklist}"
|
43
|
+
|
32
44
|
installesd_packages = File.join installesd, PACKAGES
|
33
45
|
basesystem_packages = File.join basesystem, IESD::DMG::BaseSystem::PACKAGES
|
34
46
|
oh1 "Copying #{installesd_packages}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iesd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "なつき"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Modify Extensions, Kextcache and Packages on InstallESD.
|
14
14
|
email: i@ntk.me
|