mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
Фикс путей к profiles
This commit is contained in:
parent
324ab21d35
commit
2658c8a4ca
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public void invoke(String... args) throws IOException, CommandException {
|
||||||
// Create profile file
|
// Create profile file
|
||||||
LogHelper.subInfo("Creaing profile file: '%s'", dirName);
|
LogHelper.subInfo("Creaing profile file: '%s'", dirName);
|
||||||
ClientProfile client;
|
ClientProfile client;
|
||||||
String profilePath = String.format("launchserver/defaults/profile%s.cfg", version.name);
|
String profilePath = String.format("ru/gravit/launchserver/defaults/profile%s.cfg", version.name);
|
||||||
try (BufferedReader reader = IOHelper.newReader(IOHelper.getResourceURL(profilePath))) {
|
try (BufferedReader reader = IOHelper.newReader(IOHelper.getResourceURL(profilePath))) {
|
||||||
client = new ClientProfile(TextConfigReader.read(reader, false));
|
client = new ClientProfile(TextConfigReader.read(reader, false));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue