mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-03-28 20:18:21 +03:00
Avanguard update
This commit is contained in:
parent
84475c3b00
commit
1e65b0e3a6
3 changed files with 0 additions and 7 deletions
|
@ -79,7 +79,6 @@ public static void main(boolean init) {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
// нужно делать до пуска таймера!
|
// нужно делать до пуска таймера!
|
||||||
GuardBind.setCheckTime(3000);
|
|
||||||
GuardBind.avnStartDefence();
|
GuardBind.avnStartDefence();
|
||||||
CommonHelper.newThread("Security Thread", true, new SecurityThread()).start();
|
CommonHelper.newThread("Security Thread", true, new SecurityThread()).start();
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,9 +71,6 @@ public int getValue() {
|
||||||
@LauncherAPI
|
@LauncherAPI
|
||||||
public static native void avnStopDefence();
|
public static native void avnStopDefence();
|
||||||
|
|
||||||
@LauncherAPI
|
|
||||||
public static native int getCheckTime();
|
|
||||||
|
|
||||||
public static void init() {
|
public static void init() {
|
||||||
LogHelper.debug("Anti-Cheat loading");
|
LogHelper.debug("Anti-Cheat loading");
|
||||||
if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE)
|
if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE)
|
||||||
|
@ -84,9 +81,6 @@ else if (JVMHelper.JVM_BITS == 64)
|
||||||
LogHelper.debug("Anti-Cheat loaded");
|
LogHelper.debug("Anti-Cheat loaded");
|
||||||
}
|
}
|
||||||
|
|
||||||
@LauncherAPI
|
|
||||||
public static native void setCheckTime(int time);
|
|
||||||
|
|
||||||
public static void start(Path path) {
|
public static void start(Path path) {
|
||||||
LogHelper.debug("Anti-Cheat loading");
|
LogHelper.debug("Anti-Cheat loading");
|
||||||
System.load(path.normalize().toAbsolutePath().toFile().getAbsolutePath());
|
System.load(path.normalize().toAbsolutePath().toFile().getAbsolutePath());
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue