rebuild 0.0.4.pre9 → 0.0.4.pre10
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 +4 -4
- data/lib/rebuild/command_line_tools.rb +4 -3
- data/lib/rebuild/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: 995ef7c5156dca1f2d8af3df5d268ac4630a4985
|
4
|
+
data.tar.gz: 9a5b71e8df854e23168fb339bdb4dbb8e2dfb8db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
31
|
+
VALUES('kTCCServiceAccessibility','#{BUNDLE_IDENTIFIER}',0,1,0,NULL);
|
31
32
|
SQL
|
32
33
|
`sudo sqlite3 #{DATABASE} "#{sql}"`
|
33
34
|
end
|
data/lib/rebuild/version.rb
CHANGED