Skip to content

Commit

Permalink
docs: add more description about pre-launch hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ookkoouu committed Mar 25, 2024
1 parent 54566be commit e964367
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
An standalone updater for packwiz modpacks with simple commands. No need to install Java anymore!
I hope it replaces [packwiz-installer](https://github.com/packwiz/packwiz-installer) and [packwiz-installer-bootstrap](https://github.com/packwiz/packwiz-installer-bootstrap).

# Usage
## Usage
1. [Download binary from release](https://github.com/ookkoouu/packwiz-install/releases/latest) and put it on `.minecraft` folder.
2. Run install command.
```
Expand Down Expand Up @@ -31,5 +31,14 @@ Flags:

## Update on launch game
1. Bundle binary with your modpack.
2. Set `packwiz-install i <URL>` to Pre-Launch Hook. The hook feature is available in [Prism Launcher](https://prismlauncher.org/), [Modrinth App](https://modrinth.com/app) etc.
3. Start the game as usual.
2. Set Pre-Launch Hook to player's launcher. The hook feature is available in [Prism Launcher](https://prismlauncher.org/), [Modrinth App](https://modrinth.com/app) etc.
![image](https://github.com/ookkoouu/packwiz-install/assets/29059223/cd22914c-d09a-46e6-8852-bf3cff78fc3e)
### Windows
```
cmd /c packwiz-install install <URL>
```
### Linux
```
sh -c 'packwiz-install install <URL>'
```
4. Start the game as usual.

0 comments on commit e964367

Please sign in to comment.