mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +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
|
||||
LogHelper.subInfo("Creaing profile file: '%s'", dirName);
|
||||
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))) {
|
||||
client = new ClientProfile(TextConfigReader.read(reader, false));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue