mirror of
https://github.com/octopusYan/alist-gui.git
synced 2024-12-05 01:36:43 +08:00
fix: 修复更新后版本号显示为配置文件内旧版本号的错误
This commit is contained in:
parent
ef7f4461c2
commit
4e1af001c2
@ -278,6 +278,10 @@ public class ConfigManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static String guiVersion() {
|
public static String guiVersion() {
|
||||||
|
// 覆盖配置文件读取的版本号
|
||||||
|
if (!Constants.APP_VERSION.equals(gui().getVersion())) {
|
||||||
|
guiVersion(Constants.APP_VERSION);
|
||||||
|
}
|
||||||
return gui().getVersion();
|
return gui().getVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user