diff --git a/bootstrap/src/main/java/io/github/coolcrabs/brachyura/bootstrap/Main.java b/bootstrap/src/main/java/io/github/coolcrabs/brachyura/bootstrap/Main.java index a15ac7e5..be24887a 100644 --- a/bootstrap/src/main/java/io/github/coolcrabs/brachyura/bootstrap/Main.java +++ b/bootstrap/src/main/java/io/github/coolcrabs/brachyura/bootstrap/Main.java @@ -117,6 +117,10 @@ static Path getDownload(Path relativePath, String path, String hash, String file } URL url = new URL(path); if ("file".equals(url.getProtocol())) { + if (!Boolean.getBoolean("de.geolykt.starloader.brachyura.bootstrap.supressFileComplaints")) { + System.setProperty("de.geolykt.starloader.brachyura.bootstrap.supressFileComplaints", "true"); + System.out.println("Warning: Buildscript dependencies are being linked to through using an absolute path. As such this install may not work on other systems!"); + } return Paths.get(url.toURI()); // For debug usage } Path target = BOOTSTRAP_DIR.resolve(fileName);