hackmac 1.0.0 → 1.0.3

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
  SHA256:
3
- metadata.gz: 923c3844c934086f3e46c41d695766a8198515d02f75894afa90912b87428b86
4
- data.tar.gz: c022882b0fdfa41fba34d6a6e39031cfb6df6fe0107ae31232d3e0c91ae9eb33
3
+ metadata.gz: b9d92b598d1491d29dbfe3fc233afebf212f845297bcb58026f73036b3a26d2f
4
+ data.tar.gz: c29591587e204886e4ffcb9620d47d354b46f6ca8034f4f06d3f17d3bbb9813f
5
5
  SHA512:
6
- metadata.gz: 755e5d0e38d23b72951b2d17a44d320ae7423de56b2506dc85bef8409df8530000bd6f11d18a7005cd2da492cd3c6c7057c17ed746dfa1b035645a4a2e20c80c
7
- data.tar.gz: 7346a101b0798408a94445dd7f1f72d28b904b1b677f4077f819966b28f77f9004bc3271eab6e27286a67ce51c9b681372d2aca4703952d841f093c5f00d1571
6
+ metadata.gz: 74188b13a351404be04e3b4775a79a8cc58658a50811bd2cc440834aeef694cb83b51c8574f937e48f437cf7ac36ed3ceef1f8c7c21f03e08da791239696303a
7
+ data.tar.gz: ad5e1ead84f3a83cf19a6ecf917c3356622b3595d0f61a5966dea4eec6164d67dc1cbc59e4b115604802b24a33fb756cc1a001cda46633b7f22536fcf8c2bbbc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.3
data/bin/usb CHANGED
@@ -25,6 +25,8 @@ ask("Really erase #{dev.inspect} and install #{$config.usb.os.inspect}? (y/n) ")
25
25
 
26
26
  x %{diskutil partitionDisk #{dev.inspect} GPT JHFS+ "USB" 100%}
27
27
 
28
+ x %{sudo "#{$config.usb.os}/Contents/Resources/createinstallmedia" --volume #{mountpoint.inspect} --nointeraction}
29
+
28
30
  x %{sudo mkdir -p #{mountpoint_efi.inspect}}
29
31
  x %{sudo mount -t msdos #{(dev + "s1").inspect} #{mountpoint_efi.inspect}}
30
32
  cd mountpoint_efi do
@@ -32,5 +34,3 @@ cd mountpoint_efi do
32
34
  x %{git remote add origin #{$config.efi.source.inspect}}
33
35
  x %{git pull origin master}
34
36
  end
35
-
36
- x %{sudo "#{$config.usb.os}/Contents/Resources/createinstallmedia" --volume #{mountpoint.inspect} --nointeraction}
data/hackmac.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: hackmac 1.0.0 ruby lib
2
+ # stub: hackmac 1.0.3 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "hackmac".freeze
6
- s.version = "1.0.0"
6
+ s.version = "1.0.3"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Florian Frank".freeze]
11
- s.date = "2022-05-25"
11
+ s.date = "2022-05-26"
12
12
  s.description = "This ruby gem provides some useful tools for working with a Hackintosh.".freeze
13
13
  s.email = "flori@ping.de".freeze
14
14
  s.executables = ["efi".freeze, "gfxmon".freeze, "usb".freeze]
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.files = [".gitignore".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "bin/efi".freeze, "bin/gfxmon".freeze, "bin/usb".freeze, "hackmac.gemspec".freeze, "lib/hackmac.rb".freeze, "lib/hackmac/asset_tools.rb".freeze, "lib/hackmac/config.rb".freeze, "lib/hackmac/disks.rb".freeze, "lib/hackmac/github_source.rb".freeze, "lib/hackmac/kext.rb".freeze, "lib/hackmac/kext_upgrader.rb".freeze, "lib/hackmac/oc.rb".freeze, "lib/hackmac/oc_upgrader.rb".freeze, "lib/hackmac/plist.rb".freeze, "lib/hackmac/url_download.rb".freeze, "lib/hackmac/utils.rb".freeze, "lib/hackmac/version.rb".freeze]
17
17
  s.homepage = "http://github.com/flori/hackmac".freeze
18
18
  s.rdoc_options = ["--title".freeze, "Hackmac - Some useful tools for working with a Hackintosh".freeze, "--main".freeze, "README.md".freeze]
19
- s.rubygems_version = "3.3.13".freeze
19
+ s.rubygems_version = "3.3.14".freeze
20
20
  s.summary = "Some useful tools for working with a Hackintosh".freeze
21
21
 
22
22
  if s.respond_to? :specification_version then
@@ -11,19 +11,31 @@ module Hackmac
11
11
  DEFAULT = <<~end
12
12
  ---
13
13
  efi:
14
- source: 'https://github.com/flori/EFI-some.git'
14
+ source: 'storage.gate.ping.de:/git/EFI-hacmaxi.git'
15
15
  usb:
16
- os: '/Applications/Install macOS Mojave.app'
16
+ os: '/Applications/Install macOS Monterey.app'
17
17
  devices:
18
18
  main:
19
- name: 'OSX_EFI'
19
+ name: 'EFI'
20
20
  backup:
21
21
  name: 'BACKUP_EFI'
22
22
  github:
23
23
  user: null
24
24
  access_token: null
25
+ oc:
26
+ efi_path: 'EFI'
27
+ source:
28
+ github: 'acidanthera/OpenCorePkg'
29
+ debug: true
30
+ install_path: 'X64/EFI'
31
+ files:
32
+ - 'BOOT/BOOTx64.efi'
33
+ - 'OC/OpenCore.efi'
34
+ - 'OC/Drivers/OpenHfsPlus.efi'
35
+ - 'OC/Drivers/OpenRuntime.efi'
36
+ - 'OC/Tools/OpenShell.efi'
25
37
  kext:
26
- efi_path: 'EFI/CLOVER/kexts/Other'
38
+ efi_path: 'EFI/OC/Kexts'
27
39
  sources:
28
40
  AppleALC:
29
41
  github: 'acidanthera/AppleALC'
@@ -45,6 +57,8 @@ module Hackmac
45
57
  - BrcmFirmwareData
46
58
  WhateverGreen:
47
59
  github: 'acidanthera/WhateverGreen'
60
+ LucyRTL8125Ethernet:
61
+ github: 'Mieze/LucyRTL8125Ethernet'
48
62
  end
49
63
 
50
64
  def self.load(path: ENV.fetch('CONFIG_PATH', '~/.config/hackmac/hackmac.yml'))
@@ -52,7 +66,7 @@ module Hackmac
52
66
  mkdir_p path.dirname
53
67
  ComplexConfig::Provider.config_dir = path.dirname
54
68
  unless path.exist?
55
- File.secure_write(path, DEFAULT)
69
+ File.secure_write(path.to_s, DEFAULT)
56
70
  end
57
71
  puts "Loading config from #{path.to_s.inspect}."
58
72
  ComplexConfig::Provider[path.basename.to_s.sub(/\..*?\z/, '')]
@@ -1,6 +1,6 @@
1
1
  module Hackmac
2
2
  # Hackmac version
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.3'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hackmac
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-25 00:00:00.000000000 Z
11
+ date: 2022-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  - !ruby/object:Gem::Version
204
204
  version: '0'
205
205
  requirements: []
206
- rubygems_version: 3.3.13
206
+ rubygems_version: 3.3.14
207
207
  signing_key:
208
208
  specification_version: 4
209
209
  summary: Some useful tools for working with a Hackintosh