This commit is contained in:
Anuken
2019-08-07 08:39:59 -04:00
parent 8359789d4f
commit 2d504521b1
3 changed files with 3 additions and 3 deletions
@@ -40,7 +40,7 @@ public class AssetsAnnotationProcessor extends AbstractProcessor{
try{
String path = Paths.get(Utils.filer.createResource(StandardLocation.CLASS_OUTPUT, "no", "no")
.toUri().toURL().toString().substring("file:".length()))
.toUri().toURL().toString().substring(System.getProperty("os.name").contains("Windows") ? 6 : "file:".length()))
.getParent().getParent().getParent().getParent().getParent().getParent().toString();
process("Sounds", path + "/assets/sounds", "io.anuke.arc.audio.Sound", "newSound");