make the build.sh script a little nicer, also apparently windows requires classpath jars to be absolute, or at least I had to make them that to make them work

This commit is contained in:
idk
2021-04-03 16:23:26 -04:00
parent 87f8dbf0e0
commit f06a8b11e0
3 changed files with 30 additions and 23 deletions

View File

@ -80,6 +80,7 @@ public class PackageLauncher {
throw new Exception(targetDir + " exists but not a directory. Please get it out of the way");
if (!targetFile.exists() || overwrite)
System.out.println(targetFile.toPath());
Files.copy(resource, targetFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
}
}