Add pack-root option (fixes #27)

This commit is contained in:
comp500
2021-06-04 02:10:29 +01:00
parent d6bed7ad4c
commit 8cbe7d4c61
7 changed files with 26 additions and 15 deletions

View File

@@ -76,7 +76,8 @@ For use on servers, add the `-g` flag to disable the GUI and `-s server` to down
## Options
- Additional options can be configured in the `[options]` section of `pack.toml`, as follows:
- `mods-folder` The folder to save mod metadata files into, for the install commands
- `mods-folder` The folder to save mod metadata files into, for the install commands (relative to the pack root)
- `acceptable-game-versions` A list of additional Minecraft versions to accept when installing or updating mods
- `no-internal-hashes` If this is set to true, packwiz will not generate hashes of local files, to prevent merge conflicts and inconsistent hashes when using git/etc.
- `packwiz refresh --build` can be used in this mode to generate internal hashes for distributing the pack with packwiz-installer
- `packwiz refresh --build` can be used in this mode to generate internal hashes for distributing the pack with packwiz-installer
- `pack-root` A custom directory, containing the modpack files and optional .packwizignore file (defaults to the index file location)