Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.12 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.12 KB

A-Frame Packer

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