Update readme

This commit is contained in:
ZXMushroom63 2024-09-01 13:11:35 +08:00
parent 422ae174a9
commit 7e0aaa5d3c
2 changed files with 9 additions and 3 deletions

View File

@ -2,6 +2,8 @@
A modding API injector for vanilla eaglercraft builds.
### How to use:
Download injector.html and open it. Then, follow the intructions the page says.
#### Online
Go to https://eaglerforge.github.io/EaglerForgeInjector/ and upload an unminified, unobfuscated, unsigned EaglercraftX offline download.
### I promise i'll make documentation soon i promise
#### 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.

View File

@ -38,7 +38,6 @@
details {
text-align: left;
padding: 6px;
padding-left: 8px;
border-radius: 1rem;
background-color: rgba(0,0,0,0.5);
margin-bottom: 1rem;
@ -47,6 +46,7 @@
background-color: rgba(255,255,255,0.1);
padding: 4px;
border-radius: 0.6rem;
padding-left: 8px;
}
</style>
</head>
@ -84,6 +84,10 @@
The injector works by analysing your uploaded file for patterns that appear in TeaVM's compiled JavaScript code. Then, it will replace all functions with proxies to the original code, which it moves into
<code>ModAPI.hooks.methods</code>. It does similar things with static properties and constructors, and then hooks into <code>$rt_metadata</code> to access auxilary information.
</details>
<details>
<summary>Where documentation???</summary>
<a href="https://eaglerforge.github.io/EaglerForgeInjector/docs">https://eaglerforge.github.io/EaglerForgeInjector/docs</a>
</details>
</div>
</div>