diff --git a/Client/src/main/java/de/com/baseband/client/util/data/GitHash.java b/Client/src/main/java/de/com/baseband/client/util/data/GitHash.java index 76eae4d..86f6206 100644 --- a/Client/src/main/java/de/com/baseband/client/util/data/GitHash.java +++ b/Client/src/main/java/de/com/baseband/client/util/data/GitHash.java @@ -9,7 +9,7 @@ public class GitHash { public static final String GIT_HASH; static { - InputStream stream = GitHash.class.getResourceAsStream("commit"); + InputStream stream = GitHash.class.getResourceAsStream("/commit"); if(stream != null) { try { GIT_HASH = new StreamReader(stream).readAllAsString().trim(); diff --git a/Loader/src/main/java/de/com/baseband/launcher/util/GitHash.java b/Loader/src/main/java/de/com/baseband/launcher/util/GitHash.java index 2472348..0c6876f 100644 --- a/Loader/src/main/java/de/com/baseband/launcher/util/GitHash.java +++ b/Loader/src/main/java/de/com/baseband/launcher/util/GitHash.java @@ -9,7 +9,7 @@ public class GitHash { public static final String GIT_HASH; static { - InputStream stream = GitHash.class.getResourceAsStream("commit"); + InputStream stream = GitHash.class.getResourceAsStream("/commit"); if(stream != null) { try { GIT_HASH = new StreamReader(stream).readAllAsString().trim();