From 064eb16ceb731d6306a933610da73effe5c5b124 Mon Sep 17 00:00:00 2001 From: Zlika Date: Sat, 10 Nov 2018 14:44:46 +0100 Subject: [PATCH] Fix emscripten README --- pkg/emscripten/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkg/emscripten/README.md b/pkg/emscripten/README.md index db22617c96..54cace8981 100644 --- a/pkg/emscripten/README.md +++ b/pkg/emscripten/README.md @@ -31,8 +31,13 @@ I you want a self hosted version you need - Unzip it in the same dir you extracted the rest, inside **/assets/frontend/bundle** - Create an **assets/cores** dir, you can put game data in that dir so it's available under **downloads** - chmod +x the indexer script -- run the indexer script (you need coffeescript) like this: ./indexer ./assets/frontend > ./assets/frontend/.index-xhr -- run the indexer script (you need coffeescript) like this: ./indexer ./assets/cores > ./assets/cores/.index-xhr +- run the indexer script (you need coffeescript) like this: +``` +cd ${ROOT_WWW_PATH}/assets/frontend/bundle +../../../indexer > .index-xhr +cd ${ROOT_WWW_PATH}/assets/cores +../../indexer > .index-xhr +``` That should be it, you can add more cores to the list by editing index.html