mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 21:06:58 +03:00
Show a warning in the log if a library is missing
This commit is contained in:
parent
71575a5022
commit
66fa241257
1 changed files with 9 additions and 1 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue