Running Brackets - PeterWangIntel/crosswalk-website GitHub Wiki
Currently Brackets with Crosswalk works only on Linux. We'll need three separate parts:
-
Crosswalk. This is our application that runs web content.
-
Brackets. Repository with HTML/JS files that implement the Brackets editor. We are using cmarcelo/test branch, because we need some modifications that are not available upstream.
-
Brackets-Crosswalk. The external extension that adds features to Crosswalk so Brackets can run.
-
If you do not have a Crosswalk binary, Follow the regular steps to build Crosswalk. The remaining instructions will assume that Crosswalk base directory is
~/dev/crosswalk
. That directory should contain an src subdirectory, and insidesrc
, there's axwalk
directory. At this point there must be a ~/dev/crosswalk/src/out/Release/xwalk executable -
cd ~/dev
-
git clone [email protected]:cmarcelo/brackets.git
-
cd brackets
-
git checkout -b test origin/test
-
git submodule update --init
-
cd ~/dev
-
git clone [email protected]:crosswalk-project/brackets-crosswalk.git
-
cd brackets-crosswalk
-
make
-
There should be a
~/dev/brackets-crosswalk/brackets.so
file after make runs. -
./run-brackets.sh PATH_TO_XWALK_EXECUTABLE ~/dev/brackets
Note that not all features are working at the moment. It should be possible to see dialogs (Open File, Open Folder, Save As, etc) with native look and feel.