Skip to content

Commit

Permalink
fix: fix usage
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Feb 10, 2024
1 parent 3d1ee71 commit 08265b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ A command line util for encrypting and decrypting resource packs.

## Usage

Before use this tool, make sure you have java 21 runtime!

### Encryption

Command: `java -jar EncryptMyPack.jar encrypt <inputZip> <outputZip> [key]`
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/allaymc/encryptmypack/EncryptMyPack.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
public class EncryptMyPack {

public static final Gson GSON = new GsonBuilder().disableHtmlEscaping().serializeNulls().setLenient().create();
public static final String USAGE = "Usage: java -jar EncryptMyPack.jar <encrypt|decrypt> <inputFolder> <outputFolder> [key]";
public static final String USAGE = "Usage: EncryptMyPack.exe <encrypt|decrypt> <inputFolder> <outputFolder> [key]";
public static final String DEFAULT_KEY = "liulihaocai123456789123456789123";
public static final List<String> EXCLUDE = List.of("manifest.json", "pack_icon.png", "bug_pack_icon.png");
public static final int KEY_LENGTH = 32;
Expand Down

0 comments on commit 08265b0

Please sign in to comment.