[ANY] Небольшой рефакторинг. (#233)

* [FIX] Убрал свою криворукость.

* [ANY] Небольшой рефакторинг.

* [ANY] Обновил readme,
This commit is contained in:
Zaxar163 2019-04-28 13:49:17 +02:00 committed by Gravit
parent 8ba8d27241
commit 10a441b2ae
3 changed files with 4 additions and 3 deletions

View file

@ -24,7 +24,7 @@ public static void main(String... args) throws Throwable {
JVMHelper.checkStackTrace(LauncherEngine.class); JVMHelper.checkStackTrace(LauncherEngine.class);
JVMHelper.verifySystemProperties(Launcher.class, true); JVMHelper.verifySystemProperties(Launcher.class, true);
EnvHelper.checkDangerousParams(); EnvHelper.checkDangerousParams();
if(!LauncherAgent.isStarted()) throw new SecurityException("JavaAgent not set"); //if(!LauncherAgent.isStarted()) throw new SecurityException("JavaAgent not set");
LogHelper.printVersion("Launcher"); LogHelper.printVersion("Launcher");
LogHelper.printLicense("Launcher"); LogHelper.printLicense("Launcher");
// Start Launcher // Start Launcher

View file

@ -2,7 +2,8 @@
* Discord channel: https://discord.gg/aJK6nMN * Discord channel: https://discord.gg/aJK6nMN
* [See license](LICENSE) * [See license](LICENSE)
* [See code of conduct](CODE_OF_CONDUCT.md) * [See code of conduct](CODE_OF_CONDUCT.md)
* [WIKI](https://launcher.gravit.pro) * [WIKI](https://yii2.gravit.pro)
* [OLD WIKI (4.X.X)](https://launcher.gravit.pro)
* Get it (requires cURL): * Get it (requires cURL):
```sh ```sh
curl -s https://raw.githubusercontent.com/GravitLauncher/Launcher/master/get_it.sh | sh curl -s https://raw.githubusercontent.com/GravitLauncher/Launcher/master/get_it.sh | sh

View file

@ -1,4 +1,4 @@
package ru.gravit.launcher.server; package ru.gravit.launcher.server;
import ru.gravit.launcher.ClientPermissions; import ru.gravit.launcher.ClientPermissions;
import ru.gravit.launcher.Launcher; import ru.gravit.launcher.Launcher;