Use FileSystemPreferencesFactory instead of OSX

This commit is contained in:
Duy Tran Khanh committed 2022-09-25 10:52:35 +07:00
1 parent 9217c52442
commit cf9d0d136d
1 file changed
+1
@@ -28,6 +28,7 @@ public class PojavLauncher {
field.setAccessible(true);
field.set(null, null);
sun.font.FontUtilities.isLinux = true;
System.setProperty("java.util.prefs.PreferencesFactory", "java.util.prefs.FileSystemPreferencesFactory");
} catch (Throwable th) {
// Not on JRE8, ignore exception
//Tools.showError(th);