Skip to content

Commit ccc1784

Browse files
committed
Fixed bug when having an app name that is contained in the rest of the path
Updated iOS version to 7.0.3
1 parent 70dc84e commit ccc1784

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

run

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ on run argv
1616

1717

1818

19-
20-
21-
22-
23-
24-
25-
set iOSVersion to "7.0"
19+
set iOSVersion to "7.0.3"
2620

2721
setupFolders()
2822

@@ -52,7 +46,7 @@ on run argv
5246

5347
repeat with currentSubfolder in subFiles
5448
-- inside the app
55-
if (currentSubFolder as string) contains appName then
49+
if (currentSubFolder as string) contains (appName & ".app") then
5650
set appFolderName to currentSubFolder
5751
end if
5852
end repeat
@@ -97,6 +91,7 @@ on run argv
9791
do shell script "./changeLanguage " & currentLang
9892
logEvent("Changed language to " & currentLang)
9993

94+
logEvent("Executing " & automationTemplate & " \"" & unixPathToApplication & "\" -e UIASCRIPT \"" & scriptName & "\" -e UIARESULTSPATH Results")
10095
set currentResults to do shell script automationTemplate & " \"" & unixPathToApplication & "\" -e UIASCRIPT \"" & scriptName & "\" -e UIARESULTSPATH Results"
10196

10297
if (currentResults as string) contains "Fail:" then

0 commit comments

Comments
 (0)