version 1.0.1
This is a modification of the default onyx-app template including additional libraries: enyo-webos and enyo-luneos. It differs from the built-in templates in that for use with the legacy Palm/HP webOS SDK's palm-package
command, it includes 2 additonal files: an Enyo icon.png
and an appinfo.json
which are included in the package.json
file's assets
array so that they will be copied into dist
when enyo pack
is run. Also for legacy webOS / LuneOS support, the ready
function in index.js
includes 2 Palm/webOS specific lines:
ready(function () {
window.Mojo = {relaunch: function(e) {} };
window.PalmSystem && PalmSystem.stageReady && PalmSystem.stageReady();
new App();
});
# using enyo-dev you can install this remote template
enyo templates install https://github.com/bbito/onyx-webos-app.git
# init using this template
enyo init my-project -t onyx-webos-app
# set as default template
enyo templates default onyx-webos-app
IMPORTANT! The .git folder and README.md from this template repo will be copied into your project folder
IMPORTANT! Delete the .git folder before proceeding and either delete or remember to modify the README.md file so it describes YOUR PROJECT instead of this template
Otherwise, for the most part this template works like the built-in app templates and you can find out more about enyo-dev and the template system at the enyo-dev repo.
.git
folder at the root of your new project (which is from this template)README.md
file at the root of your new project (which is from this template) or edit it to describe your projectappinfo.json
file to reflect your projectenyo pack
palm-package dist