Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ardublockly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ardublockly
Commits
bbe79007
Commit
bbe79007
authored
Jul 02, 2015
by
carlosperate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update start_cef.py to be able to run from wxcef_build folder.
parent
186ede98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
.gitignore
.gitignore
+1
-1
package/wxcef_build/start_cef.py
package/wxcef_build/start_cef.py
+8
-1
No files found.
.gitignore
View file @
bbe79007
...
...
@@ -78,7 +78,7 @@ ServerCompilerSettings.ini
TestTemp_*
# CEF cache and log files
/
webcache
webcache
cef_error.log
cef_debug.log
...
...
package/wxcef_build/start_cef.py
View file @
bbe79007
...
...
@@ -36,7 +36,14 @@ import codecs
import
inspect
import
platform
import
traceback
from
ardublocklyserver.server
import
start_server
try
:
from
ardublocklyserver.server
import
start_server
except
ImportError
:
file_dir
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
package_dir
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
file_dir
))
sys
.
path
.
insert
(
0
,
package_dir
)
from
ardublocklyserver.server
import
start_server
os
.
chdir
(
package_dir
)
# Needed for packaging the application on self contained executable
__file__
=
sys
.
argv
[
0
]
...
...
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