use absolute resources
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m3s
/ Build BaseBand Installer (push) Successful in 40s
/ Build BaseBand Loader (push) Successful in 1m22s
/ Build BaseBand Server (push) Successful in 1m31s

This commit is contained in:
Daniella / Tove 2024-06-13 13:53:55 +02:00
parent 5d0e67ba4e
commit b7a4dc207d
Signed by: TudbuT
GPG key ID: B3CF345217F202D3
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ public class GitHash {
public static final String GIT_HASH; public static final String GIT_HASH;
static { static {
InputStream stream = GitHash.class.getResourceAsStream("commit"); InputStream stream = GitHash.class.getResourceAsStream("/commit");
if(stream != null) { if(stream != null) {
try { try {
GIT_HASH = new StreamReader(stream).readAllAsString().trim(); GIT_HASH = new StreamReader(stream).readAllAsString().trim();

View file

@ -9,7 +9,7 @@ public class GitHash {
public static final String GIT_HASH; public static final String GIT_HASH;
static { static {
InputStream stream = GitHash.class.getResourceAsStream("commit"); InputStream stream = GitHash.class.getResourceAsStream("/commit");
if(stream != null) { if(stream != null) {
try { try {
GIT_HASH = new StreamReader(stream).readAllAsString().trim(); GIT_HASH = new StreamReader(stream).readAllAsString().trim();