From 1bd9f324bd0efeb10eccdeb001891304af2f5506 Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Fri, 11 Apr 2025 20:43:03 +0800 Subject: [PATCH] add cli.js readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4c3ef81..5a0f60c 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ Go to https://eaglerforge.github.io/EaglerForgeInjector/ and upload an unminifie #### Portable Offline Download this repository as a .zip, and extract it. Open index.html with your preferred browser (use `ctrl` + `O` on a new tab) and upload an unminified, unobfuscated, unsigned EaglercraftX offline download. +#### Offline CLI +- Clone the repository and run `npm ci` to install the required libraries. +- In the project directory, run `npm run efi /help` for use instructions. +- This is good for bypassing browser memory limitations, for minifying. +- Yes, I am forcing DOS command syntax upon you + #### How does it work? This tool matches patterns in eaglercraft builds and adds patching code to let you modify how the code works at runtime. It then adds a [corelib](./postinit.js) that initialises the `ModAPI` object.