Skip to content

Commit

Permalink
Fix unzipping on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrptonaught committed Sep 18, 2023
1 parent 06e8bae commit 785e7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/kyrptonaught/ToolBox/FileHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static List<String> unzipFile(Path zipFile, Path unzipPath) {
Path output = unzipPath.resolve(initialDir == null ? entry.getName() : entry.getName().replace(initialDir, ""));

//skip toolbox folder in repo
if (output.toString().contains("\\.toolbox\\"))
if (output.toString().contains(".toolbox"))
continue;

if (entry.isDirectory())
Expand Down

0 comments on commit 785e7a9

Please sign in to comment.