rebuild 0.0.4.pre5 → 0.0.4.pre6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rebuild/version.rb +1 -1
- data/script/start_install.scpt +20 -6
- 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: 43ff4a73ea5bb5d2bc52cef08af5f8a09cfb2182
|
4
|
+
data.tar.gz: f42995ede3d8902718f8fc0d24190e1b26804517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06cd96ac694d6629fd491fb3d802b472f980066e6d9152c256d6e6e4a0e4174907018c2f039739aabda077f4df937cd965b91a73f7703edb6a4de3439f21bae4
|
7
|
+
data.tar.gz: bd3f79a7be4662e8800d986f9530129afe218382d66897b9350f16fe0af4a7f025dfdf16d9a644e38643131e64666d7c5352d7c48c3cf1be00dfa045d3839b14
|
data/lib/rebuild/version.rb
CHANGED
data/script/start_install.scpt
CHANGED
@@ -1,9 +1,23 @@
|
|
1
1
|
#!/usr/bin/env osascript
|
2
2
|
|
3
3
|
-- Fist: Click Install Button
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
set timeoutSeconds to 8.0
|
5
|
+
|
6
|
+
my doWithTimeout("click UI Element \"Install\" of window 1 of application process \"Install Command Line Developer Toold\"", timeoutSeconds)
|
7
|
+
my doWithTimeout("click UI Element \"Agree\" of window 1 of application process \"Install Command Line Developer Toold\"", timeoutSeconds)
|
8
|
+
|
9
|
+
on doWithTimeout(uiScript, timeoutSeconds)
|
10
|
+
set endDate to (current date) + timeoutSeconds
|
11
|
+
repeat
|
12
|
+
try
|
13
|
+
run script "tell application \"System Events\"
|
14
|
+
" & uiScript & "
|
15
|
+
end tell"
|
16
|
+
exit repeat
|
17
|
+
on error errorMessage
|
18
|
+
if ((current date) > endDate) then
|
19
|
+
error "Can not " & uiScript
|
20
|
+
end if
|
21
|
+
end try
|
22
|
+
end repeat
|
23
|
+
end doWithTimeout
|