Example App using pixiJS v5 and Node-Webkit SDK for desktop x64.
- include basic
package.json
+jsconfig.json
+index.html
+launch.json
. - Node and v8 include in the engine, no need dependency.
- Basic hibachi with PIXIv5:
nwjs.exe
=>index.html
=>main.js
=>app.js
=>info.js
. - Easy start and show app with vsCode debugger SDK.
- Easy start with node command.
- Easy
.zip
package distribution for desktop. - Control & write on machine information demo.
- Based on HTML - CSS - JS - NWJS - NODE = CHROMIUM V8
- Auto devTool with APK
- Auto resize with fixed resolution
- Sugar code es6 with class
- FullScreen and Refresh
F4
||F5
for all desktop environments.
** Download || fork || gitClone || open in Desktop **
CMD
# clone the repo.
# --depth 1 removes all but one .git commit history (Optional).
git clone --depth 1 https://github.com/djmisterjon/pixi-nwjs-starter.git
# set change directory to repo
cd pixi-nwjs-starter
# install the dependencies via npm for intellisence (dev)
npm i
RUN CMD
# in repot, easy start via shell
nw.bat
# or
node_modules\nw\nwjs\nw.exe .\
RUN VSCODE
Fast way is Click on the icon debug, select nwjs node debug
.
It alrealy setup, but for customize edit the file launch.json
.
CREATE DIST YOUR ONE CLICK APP.EXE x64
- You should download your own
nwjs
version and architecture distribution at dl.nwjs.io/. - download you nwjs distribution
dist-nwjs-x64
. - Zip all
REPO
with your favorite tool - Exludes folder
dist-nwjs-x64
andnode_modules
- rename the zip if you want! EX:
ress.nw
. - now create app
# move in .
move ress.nw ./dist-nwjs-x64
# change directory
cd ./dist-nwjs-x64
# package in myAPP.exe
copy /b nw.exe+ress.nw myAPP.exe
myAPP.exe
it your application, people should not allow to uncompresse ressource.
WebApp to DesktopApp with Node-Webkit at HTML5devconf (Published on Jan 28, 2014)
- When you run the demo , it create a file
sysinfo.txt
inREPO
. - the file
demo.js
are for example, just remove$demo.initialize();
inapp.js
. - the distribution version are more fast and dont have DevTools.