mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] Fix log4j config unpacking (#704)
This commit is contained in:
parent
3e6af5afd3
commit
ac6c312ed4
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ private static void unpackLog4j() {
|
|||
Path log4jConfigPath = Path.of("log4j2.xml");
|
||||
if(!Files.exists(log4jConfigPath)) {
|
||||
try(FileOutputStream output = new FileOutputStream(log4jConfigPath.toFile())) {
|
||||
try(InputStream input = Main.class.getResourceAsStream("log4j2.xml")) {
|
||||
try(InputStream input = Main.class.getResourceAsStream("/log4j2.xml")) {
|
||||
if(input == null) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue