feat: add Gitea Releases auto-update check (v1.0.3)

This commit is contained in:
LZX committed 2026-11-12 00:57:40 +08:00
1 parent 369dbb436d
commit e40383b290
12 files changed
+676 -4

No files matched your search

+66
View File
@@ -5733,6 +5733,72 @@ abstract class AppLocalizations {
/// In zh, this message translates to:
/// **'通用 / 自建 Git'**
String get gitPlatformGeneric;
/// No description provided for @aboutAndUpdatesSection.
///
/// In zh, this message translates to:
/// **'关于与更新'**
String get aboutAndUpdatesSection;
/// No description provided for @appVersionLabel.
///
/// In zh, this message translates to:
/// **'当前版本'**
String get appVersionLabel;
/// No description provided for @autoCheckUpdates.
///
/// In zh, this message translates to:
/// **'启动时自动检查更新'**
String get autoCheckUpdates;
/// No description provided for @autoCheckUpdatesSubtitle.
///
/// In zh, this message translates to:
/// **'每次打开应用时自动检查 Gitea 最新版本'**
String get autoCheckUpdatesSubtitle;
/// No description provided for @checkForUpdates.
///
/// In zh, this message translates to:
/// **'检查更新'**
String get checkForUpdates;
/// No description provided for @checkingUpdates.
///
/// In zh, this message translates to:
/// **'正在检查更新...'**
String get checkingUpdates;
/// No description provided for @alreadyLatestVersion.
///
/// In zh, this message translates to:
/// **'当前已是最新版本'**
String get alreadyLatestVersion;
/// No description provided for @updateCheckFailed.
///
/// In zh, this message translates to:
/// **'检查更新失败,请检查网络连接'**
String get updateCheckFailed;
/// No description provided for @newVersionAvailableTitle.
///
/// In zh, this message translates to:
/// **'发现新版本 {version}'**
String newVersionAvailableTitle(String version);
/// No description provided for @downloadUpdate.
///
/// In zh, this message translates to:
/// **'前往下载'**
String get downloadUpdate;
/// No description provided for @dontShowAgainForVersion.
///
/// In zh, this message translates to:
/// **'不再提示'**
String get dontShowAgainForVersion;
}
class _AppLocalizationsDelegate