mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-15 06:45:42 -04:00
Fix always showing the welcome page when upgrading from old versions
This commit is contained in:
parent
e31120be21
commit
484a103f27
@ -42,7 +42,6 @@ public class Settings {
|
||||
|
||||
private Settings() {
|
||||
firstLaunch = CONFIG.isFirstLaunch();
|
||||
CONFIG.setFirstLaunch(false);
|
||||
|
||||
ProxyManager.init();
|
||||
Accounts.init();
|
||||
@ -56,6 +55,7 @@ public class Settings {
|
||||
}
|
||||
|
||||
CONFIG.addListener(source -> save());
|
||||
CONFIG.setFirstLaunch(false);
|
||||
}
|
||||
|
||||
private void save() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user