mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Moved from sun to custom class
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package org.parabot;
|
||||
|
||||
import com.sun.deploy.util.WinRegistry;
|
||||
import org.parabot.core.Configuration;
|
||||
import org.parabot.core.Core;
|
||||
import org.parabot.core.Directories;
|
||||
@@ -31,13 +30,10 @@ public final class Landing {
|
||||
|
||||
private static void removeKeys(){
|
||||
try{
|
||||
boolean value = WinRegistry.deleteKey(
|
||||
WinRegistry.deleteKey(
|
||||
WinRegistry.HKEY_CURRENT_USER,
|
||||
"Software\\JavaSoft\\Prefs"
|
||||
);
|
||||
if (value) {
|
||||
System.err.println("Ikov key removed");
|
||||
}
|
||||
}catch (Exception ignored){
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user