Show a warning in the log if a library is missing

This commit is contained in:
p-schneider 2014-07-19 15:46:55 +02:00
parent 71575a5022
commit 66fa241257

View File

@ -101,7 +101,15 @@ public class OneSixLauncher implements Launcher
Utils.log("Libraries:");
for (String s : libraries)
{
Utils.log(" " + s);
File f = new File(s);
if (f.exists())
{
Utils.log(" " + s);
}
else
{
Utils.log(" " + s + " (missing)", "Warning");
}
}
Utils.log();