rebuild 0.0.4.pre9 → 0.0.4.pre10

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
  SHA1:
3
- metadata.gz: 3333b513c20e335f6fc9cfb12d16f92b813f2fbe
4
- data.tar.gz: edc08fd52d002bdabc5d45b205295c1ed3eac6e3
3
+ metadata.gz: 995ef7c5156dca1f2d8af3df5d268ac4630a4985
4
+ data.tar.gz: 9a5b71e8df854e23168fb339bdb4dbb8e2dfb8db
5
5
  SHA512:
6
- metadata.gz: aad027253df70ce5af212e406e91153405a70d43ea7ac14d10051b0a1b26575f30fcf150b6febbdff3bc6cd30b7d44933760b114f27e75f3a4c0e5acf93d31ee
7
- data.tar.gz: 968ee4a3be166778d0c5a5c28d9708c26dfeb6a581cd6791bcc6a3562e588ed952cd8a55b5bea176d2f56ff5ef9a0cd4fd7f0c781efff5db9912bcf79344a336
6
+ metadata.gz: 03f32e741f2e39d046adb50491dcdf4fa4fd4bde516956ac81284fdf85394c823abc8bb993ebd31c778fc390a476fbd4b0a84810b6598e3d18a12da2dfa62197
7
+ data.tar.gz: 14ac543663754b56f234b710877f225e1dff192bf1fd2d77e54b4e6c9325a29b14a6970e3ae91096145351a6bf6773463b37ea9effa57ec17d9acff8e35cd317
@@ -11,11 +11,12 @@ module Rebuild
11
11
  end
12
12
 
13
13
  def install
14
+ `xcode-select --install`
15
+
16
+ # NOTE: This MUST be after `xcode-select --install`.
14
17
  obtain_accesibility
15
18
 
16
- `xcode-select --install`
17
19
  execute_scpt('start_install')
18
-
19
20
  sleep 5 until installed?
20
21
  execute_scpt('click_finish')
21
22
  end
@@ -27,7 +28,7 @@ module Rebuild
27
28
  puts "Require accessibility for Terminal.app to click buttons"
28
29
  sql = <<-SQL
29
30
  INSERT OR REPLACE INTO access
30
- VALUES('kTCCServiceAccessibility','#{BUNDLE_IDENTIFIER}',0,1,1,NULL);
31
+ VALUES('kTCCServiceAccessibility','#{BUNDLE_IDENTIFIER}',0,1,0,NULL);
31
32
  SQL
32
33
  `sudo sqlite3 #{DATABASE} "#{sql}"`
33
34
  end
@@ -1,3 +1,3 @@
1
1
  module Rebuild
2
- VERSION = '0.0.4.pre9'
2
+ VERSION = '0.0.4.pre10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.pre9
4
+ version: 0.0.4.pre10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun