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
378b9c2f
Commit
378b9c2f
authored
Jul 27, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #292 from abarth/fix_sky_tools
Fix sky_tool's installing of SkyShell.apk
parents
ef600e14
c420d2c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
sky_tool
packages/flutter/lib/sky_tool
+4
-5
No files found.
packages/flutter/lib/sky_tool
View file @
378b9c2f
...
...
@@ -16,10 +16,9 @@ import urlparse
import
time
# TODO(eseidel): This should be BIN_DIR.
LIB_DIR
=
os
.
path
.
realpath
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
SKY_PACKAGE_ROOT
=
os
.
path
.
realpath
(
os
.
path
.
dirname
(
LIB_DIR
))
SKY_ENGINE_PACKAGE_ROOT
=
os
.
path
.
realpath
(
os
.
path
.
join
(
SKY_PACKAGE_ROOT
,
os
.
pardir
,
'sky_engine'
))
PACKAGE_ROOT
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
SKY_ENGINE_PACKAGE
=
os
.
path
.
join
(
PACKAGE_ROOT
,
'sky_engine'
)
APK_DIR
=
os
.
path
.
join
(
os
.
path
.
realpath
(
SKY_ENGINE_PACKAGE
),
os
.
pardir
,
'apks'
)
SKY_SERVER_PORT
=
9888
OBSERVATORY_PORT
=
8181
...
...
@@ -166,7 +165,7 @@ class StartSky(object):
args
.
install
=
True
if
args
.
install
:
apk_path
=
os
.
path
.
join
(
SKY_ENGINE_PACKAGE_ROOT
,
'apks'
,
APK_NAME
)
apk_path
=
os
.
path
.
join
(
APK_DIR
,
APK_NAME
)
if
not
os
.
path
.
exists
(
apk_path
):
print
"'
%
s' does not exist?"
%
apk_path
return
2
...
...
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