fix: 修复更新后版本号显示为配置文件内旧版本号的错误

This commit is contained in:
octopus_yan 2024-09-26 21:14:48 +08:00
parent ef7f4461c2
commit 4e1af001c2

View File

@ -278,6 +278,10 @@ public class ConfigManager {
}
public static String guiVersion() {
// 覆盖配置文件读取的版本号
if (!Constants.APP_VERSION.equals(gui().getVersion())) {
guiVersion(Constants.APP_VERSION);
}
return gui().getVersion();
}