Skip to content

Commit

Permalink
Add system property option to only patch the server (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikroskeem authored and DenWav committed May 16, 2017
1 parent 13d77aa commit 6dcb324
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/com/destroystokyo/paperclip/Paperclip.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ public static void main(String[] args) {
}
}

// Exit if user has set `paperclip.patchonly` system property to `true`
if (Boolean.getBoolean("paperclip.patchonly")) {
System.exit(0);
}

// Get main class info from jar
final String main;
FileInputStream fs = null;
Expand Down

0 comments on commit 6dcb324

Please sign in to comment.