[FEATURE] Исправление работы wrapper'ов

This commit is contained in:
Gravit 2019-01-22 10:33:14 +07:00
parent 6ec8267001
commit 792755f097
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -27,7 +27,7 @@ public Path getJavaBinPath() {
@Override @Override
public void init(boolean clientInstance) { public void init(boolean clientInstance) {
try { try {
UnpackHelper.unpack(IOHelper.getResourceURL(JVMHelper.JVM_BITS == 64 ? "wrapper64.exe" : "wrapper32.exe"),DirBridge.getGuardDir()); UnpackHelper.unpack(IOHelper.getResourceURL(JVMHelper.JVM_BITS == 64 ? "guard/wrapper64.exe" : "guard/wrapper32.exe"),DirBridge.getGuardDir());
} catch (IOException e) { } catch (IOException e) {
throw new SecurityException(e); throw new SecurityException(e);
} }