-
Notifications
You must be signed in to change notification settings - Fork 1
Running brackets
Currently Brackets with Crosswalk works only on Linux. We'll need three separate parts:
-
Crosswalk. This is our application that runs web content. We'll build the cmarcelo/brackets branch.
-
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 extension that adds features to Crosswalk so Brackets can run.
-
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. -
cd ~/dev/crosswalk/src/xwalk
-
git remote add cmarcelo [email protected]:cmarcelo/xwalk.git
-
git fetch cmarcelo
-
git checkout -b brackets cmarcelo/brackets
-
python gyp_xwalk
-
cd ..
-
ninja -C out/Release xwalk
-
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]:otcshare/brackets-crosswalk.git
-
cd brackets-crosswalk
-
make
-
There should be a
~/dev/brackets-crosswalk/brackets.so
file after make runs. -
./run-brackets.sh ~/dev/crosswalk/src/out/Release/xwalk ~/dev/brackets
(you may need to install realpath package for it to work, at least on Ubuntu it's needed).
It should be possible to see a menu bar with native look and feel. Note that not all features are working at the moment.