Skip to content

Commit

Permalink
fix: plugins directory not created
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatonndev committed Jul 8, 2023
1 parent 7eb0bb8 commit 26de8cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Известные недоработки
- При создании скриншота тени лаунчера попадают в скриншот

# Version 2.10.6 - _Бета тест_
# Version 2.10.7 - _Бета тест_
- Фикс нерабочего плагина

# Version 2.10.6
- Статус серверов (в разработке / тех. работы / ок)
- Проверка права раннего доступа ( EARLY_ACCESS )
- Проверка права захода в клиент, который находится в разработке ( IN_DEV )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void main(String[] args) {
Log.err("Error set log file: {0}", e.getLocalizedMessage());
}

Log.info("Starting launcher...");
Log.info("Starting launcher... Version " + Global.VERSION);
Gui.load();
}
}
2 changes: 1 addition & 1 deletion src/main/java/ru/obvilion/launcher/config/Global.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public class Global {
public static final String DISCORD_APP_ID = "657878741703327754";
public static final String API_LINK = "https://mc.obvilion.ru/api/";
public static final String VERSION = "2.10.6";
public static final String VERSION = "2.10.7";

public static final boolean PRINT_GC_STATUS = false;

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/ru/obvilion/launcher/gui/plugins/TaskBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public static void load() {

String bit = System.getProperty("sun.arch.data.model");

Global.LAUNCHER_PLUGINS.mkdir();

File native_lib = new File(Global.LAUNCHER_PLUGINS, "progress-bar-x" + bit + ".dll");

if (!native_lib.exists()) {
Expand Down

0 comments on commit 26de8cb

Please # to comment.