hackmac 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a4022d9645a534a9b141079da3c6121d13b9b5a25d4e0e29bba7ce7b91146ac
4
- data.tar.gz: b5071b21969668dcbd888dc1140c4b6ecc3ec4d95c4a78066a842344e1d7ced8
3
+ metadata.gz: 0a23e0590d9f48c2f7b18432140531bc240f91e67bb5e459c6786d451920db43
4
+ data.tar.gz: efe3f22eb263b39b20722cb98bd249d3ef26f832ce4e77252a15a7bfcc3c8718
5
5
  SHA512:
6
- metadata.gz: e609a275e5e1e70105dec55074f0b52a8ecd1976031c1c252aaf82a0ba1e0e755483e1bfb98393e0cc2de6f8823679c003cb3703e299f5203739842a343919d9
7
- data.tar.gz: bf5b34a5a8cc4c336eedb1a0e2c1bbd51de7ddf4ff384170c9dfca679acbcdc0a7de676d50971b17319505b64aae36bf3d0da100187ce76b15b3d52fc872a8cf
6
+ metadata.gz: 81dc68295902e4a986c3356fc13645549df3c9fa1e2c49b465ce32911f99ceda5c8abd028f9aab41b5c4d87c2afaf9d6af98fc9fcb1c02dd415bd2c54ef35011
7
+ data.tar.gz: fe12bed6b4bbabdfb002b16bfbc3c6d1bdc1c363da20b9d4d960c72d11fb9f8622ae3dd8dc8416de0388400167b3988c53ccc0d2b0f1fb5b98c2a63d91e5630a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
data/bin/usb CHANGED
@@ -15,12 +15,15 @@ mountpoint_efi = '/Volumes/%s' % $config.devices.usb.name
15
15
  unless File.exist?($config.usb.os)
16
16
  fail "Cannot find #{$config.usb.os.inspect}!"
17
17
  end
18
-
18
+ cim = "#{$config.usb.os}/Contents/Resources/createinstallmedia"
19
+ unless File.exist?(cim)
20
+ fail "Cannot find #{cim.inspect}!"
21
+ end
19
22
  ask("Really erase #{dev.inspect} and install #{$config.usb.os.inspect}? (y/n) ") or exit
20
23
 
21
24
  x %{diskutil partitionDisk #{dev.inspect} GPT JHFS+ "USB" 100%}
22
25
 
23
- x %{sudo "#{$config.usb.os}/Contents/Resources/createinstallmedia" --volume #{mountpoint.inspect} --nointeraction}
26
+ x %{sudo #{cim.inspect} --volume #{mountpoint.inspect} --nointeraction}
24
27
 
25
28
  x %{sudo mkdir -p #{mountpoint_efi.inspect}}
26
29
  x %{sudo mount -t msdos #{('/dev/' + dev + 's1').inspect} #{mountpoint_efi.inspect}}
data/hackmac.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: hackmac 1.2.0 ruby lib
2
+ # stub: hackmac 1.2.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "hackmac".freeze
6
- s.version = "1.2.0"
6
+ s.version = "1.2.1"
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 = "2023-04-23"
11
+ s.date = "2023-05-14"
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]
@@ -1,6 +1,6 @@
1
1
  module Hackmac
2
2
  # Hackmac version
3
- VERSION = '1.2.0'
3
+ VERSION = '1.2.1'
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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-23 00:00:00.000000000 Z
11
+ date: 2023-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar