Run a Crosswalk App on Windows
Run a packaged Crosswalk application
- Double-click on the .msi produced following the build an application section and follow the installation instructions.
After the installation succeeds you will see your application in the start menu. Double-click it to launch it.
Note : Each Crosswalk-built .msi contains its own copy of the Crosswalk runtime, it is not shared between installed Crosswalk based applications.
If you want faster code -> test -> debug cycles you can run Crosswalk for Windows from the command line. This enables you to test your code changes without creating an .msi every time.
- Download and unzip Crosswalk for Windows from https://download.01.org/crosswalk/releases/crosswalk/windows/
- Open a console (cmd.exe)
- Navigate to your project index.html
Run the python script below. This creates a local webserver that Crosswalk uses. We do not support loading from the filesystem.
> python -m SimpleHTTPServer 8000;
In another console, navigate to where Crosswalk for Windows was unzipped and run:
> xwalk.exe http://localhost:8000
Your index.html should load.
Alternatively you can also call :
> xwalk.exe "C:\Users\path\to\my\crosswalk\app\manifest.json"
This will not use the local webserver to serve the files of your application but rather will read the manifest.