mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-03-28 20:18:21 +03:00
25 lines
772 B
Java
25 lines
772 B
Java
package pro.gravit.launchserver;
|
|
|
|
import java.io.IOException;
|
|
import java.lang.instrument.Instrumentation;
|
|
import java.nio.file.*;
|
|
import java.nio.file.attribute.BasicFileAttributes;
|
|
import java.nio.file.attribute.PosixFileAttributeView;
|
|
import java.nio.file.attribute.PosixFilePermission;
|
|
import java.util.*;
|
|
import java.util.jar.JarFile;
|
|
|
|
public final class StarterAgent {
|
|
|
|
public static Instrumentation inst = null;
|
|
public static Path libraries = null;
|
|
private static boolean isStarted = false;
|
|
|
|
public static boolean isAgentStarted() {
|
|
return isStarted;
|
|
}
|
|
|
|
public static void premain(String agentArgument, Instrumentation inst) {
|
|
throw new UnsupportedOperationException("Please remove -javaagent option from start.sh");
|
|
}
|
|
}
|