Update readme.md

This commit is contained in:
noil 2019-11-20 22:32:43 -05:00 committed by GitHub
parent 85164b7a73
commit e7bdbeeb0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -23,8 +23,10 @@ Seppuku is a free, lightweight, open-source Minecraft Forge client-side mod for
3. Run the gradle command `setupDecompWorkspace` via the IDE or gradlew.bat file (via command prompt: `gradlew.bat setupDecompWorkspace`)
4. Refresh the project (reload ide / refresh gradle workspace)
5. Edit `src/main/java/me/rigamortis/seppuku/impl/fml/core/SeppukuClassTransformer.java` change `PatchManager.Environment.IDE` to `PatchManager.Environment.RELEASE`
6. Run the gradle command `build` via the IDE or gradlew.bat file (via command prompt: `gradlew.bat build`)
6. Edit `build.gradle` and change field `buildmode` to `RELEASE` ex: `def buildmode = "RELEASE"`
7. Run the gradle command `build` via the IDE or gradlew.bat file (via command prompt: `gradlew.bat build`)
# Debugging
- Use VM arg `-Dfml.coreMods.load=me.rigamortis.seppuku.impl.fml.core.SeppukuLoadingPlugin`
- Ensure field `PATCH_MANAGER` in **SeppukuClassTransformer.java** is set to `PatchManager.Environment.IDE`
- Ensure field `buildmode` in **build.gradle** is set to `IDE` ex: `def buildmode = "IDE"`