mirror of
https://github.com/octopusYan/alist-gui.git
synced 2024-12-04 01:06:42 +08:00
fix: 修复更新后版本号显示为配置文件内旧版本号的错误
This commit is contained in:
parent
ef7f4461c2
commit
4e1af001c2
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user