Skip to content

Commit efaa0ea

Browse files
Fix #52
1 parent fd0941c commit efaa0ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appium_lib/driver.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def initialize options={}
7575
@port = opts.fetch :port, ENV['PORT'] || 4723
7676

7777
@os = :ios
78-
@os = :android if @app_path.end_with?('.apk') || @app_path.end_with?('.apk.zip')
78+
@os = :android if @app_path.match /\.apk/i
7979

8080
# load common methods
8181
extend Appium::Common

0 commit comments

Comments
 (0)