mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-14 04:01:47 +03:00
[FIX] Исправлен DownloadClientCommand
This commit is contained in:
parent
03ef5265dd
commit
5eff6fae15
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,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("ru/gravit/launchserver/defaults/profile%s.cfg", version.name);
|
String profilePath = String.format("pro/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 = Launcher.gsonManager.configGson.fromJson(reader, ClientProfile.class);
|
client = Launcher.gsonManager.configGson.fromJson(reader, ClientProfile.class);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue