0.0.5 • Published 7 years ago

aframe-packer v0.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

A-Frame packer is a command line tool that lets you bundle an A-Frame app with a Web runtime (Gecko) so you can distribute it in app stores like Steam or Itch.io.

It's based on qbrt with a little bit of magic sprinkled on top.


How to use

Install it:

npm install -g aframe-packer

You need to have a directory with your A-Frame app and an index.html. See the example

Before packing you can test that everything works by invoking run on your app directory:

aframe-packer run path/to/aframe_app_dir

Once you're happy with the result you can create a zip file that both contains your A-Frame app and Web runtime ready for distribution. To launch it you have to run the aframe_app_dir.bat file in the bundle

aframe-packer pack path/to/aframe_app_dir

Authors