Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2a7c7b08
Commit
2a7c7b08
authored
Sep 23, 2015
by
Ian Fischer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1306 from chinmaygarde/master
Fix sky_tool start/listen on iOS
parents
ec92aca8
cb6b3039
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
sky_tool
packages/flutter/lib/sky_tool
+13
-12
No files found.
packages/flutter/lib/sky_tool
View file @
2a7c7b08
...
...
@@ -603,9 +603,8 @@ class IOSDevice(object):
'1'
]
logging
.
info
(
' '
.
join
(
cmd
))
out
=
subprocess
.
check_output
(
cmd
)
match
=
re
.
search
(
r'\[\.\.\.\.\] Found [^\)]*\) connected'
,
out
)
cls
.
_is_connected
=
match
is
not
None
subprocess
.
check_output
(
cmd
)
cls
.
_is_connected
=
True
except
subprocess
.
CalledProcessError
:
cls
.
_is_connected
=
False
return
cls
.
_is_connected
...
...
@@ -1030,15 +1029,17 @@ class StartListening(object):
while
True
:
logging
.
info
(
'Updating running Sky apps...'
)
# Restart the app on Android. Android does not currently restart using skyx files.
cmd
=
[
sys
.
executable
,
os
.
path
.
abspath
(
__file__
),
'start'
,
'--poke'
]
logging
.
info
(
' '
.
join
(
cmd
))
subprocess
.
check_call
(
cmd
)
device
=
AndroidDevice
()
if
device
.
is_connected
():
# Restart the app on Android. Android does not currently restart using skyx files.
cmd
=
[
sys
.
executable
,
os
.
path
.
abspath
(
__file__
),
'start'
,
'--poke'
]
logging
.
info
(
' '
.
join
(
cmd
))
subprocess
.
check_call
(
cmd
)
if
args
.
local_build
:
# Currently sending to iOS only works if you are building Sky locally
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment