Skip to content

Commit

Permalink
[ANY] Support 5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gravit0 committed Oct 28, 2023
1 parent 3f8fae7 commit 017231d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Prestarter_module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ repositories {

dependencies {
implementation("org.apache.logging.log4j:log4j-api:2.20.0")
implementation "pro.gravit.launcher:launcher-core:5.4.4"
implementation "pro.gravit.launcher:launcher-ws-api:5.4.4"
implementation "pro.gravit.launcher:launchserver-api:5.4.4"
implementation "pro.gravit.launcher:launcher-core:5.5.0-SNAPSHOT"
implementation "pro.gravit.launcher:launcher-ws-api:5.5.0-SNAPSHOT"
implementation "pro.gravit.launcher:launchserver-api:5.5.0-SNAPSHOT"
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class PrestarterLauncherBinary extends LauncherBinary {
private final PrestarterModule module;
protected PrestarterLauncherBinary(LaunchServer server, PrestarterModule module) {
super(server, LauncherBinary.resolve(server, ".exe"), "Launcher-%s-%d.exe");
super(server, LauncherBinary.resolve(server, ".exe"), "Launcher-%s.exe");
this.module = module;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,4 @@ public Path process(Path inputFile) throws IOException {
}
return outputPath;
}

@Override
public boolean allowDelete() {
return true;
}
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Установщик Java и GravitLauncher для вашего проекта, написанный на .NET
### Совместимость
Установщик требует .NET 4.5.1 и выше, который предустановлен на Windows 8.1/10/11. Установить эту версию можно на Windows 7 и выше. Многие сборки Windows уже содержат в себе .NET Framework подходящей версии
Prestarter_module работает только с GrtavitLauncher 5.5.0+
### Сборка
- Установите Visual Studio 2022 и откройте проект
- Откройте `Form1.cs`
Expand All @@ -14,4 +15,4 @@
- Установите `LAUNCHER_URL` в `null` в файле `Config.cs`
- Установите модуль Prestarter_module.jar на лаунчсервер
- Выберите тип сборки Release и соберите проект комбинацоей клавиш `Ctrl+Shift+B`
- Поместите собранный файл в корень лаунчсервера с названием `Prestarter.exe`
- Поместите собранный файл в корень лаунчсервера с названием `Prestarter.exe`

0 comments on commit 017231d

Please sign in to comment.