mirror of
https://github.com/AmintaCCCP/GithubStarsManager.git
synced 2025-11-25 10:38:18 +08:00
Update updateService.ts
This commit is contained in:
@@ -17,7 +17,7 @@ export class UpdateService {
|
|||||||
private static getCurrentVersion(): string {
|
private static getCurrentVersion(): string {
|
||||||
// 在实际应用中,这个版本号应该在构建时注入
|
// 在实际应用中,这个版本号应该在构建时注入
|
||||||
// 这里暂时硬编码,你可以通过构建脚本或环境变量来动态设置
|
// 这里暂时硬编码,你可以通过构建脚本或环境变量来动态设置
|
||||||
return '0.1.6';
|
return '0.1.7';
|
||||||
}
|
}
|
||||||
|
|
||||||
static async checkForUpdates(): Promise<UpdateCheckResult> {
|
static async checkForUpdates(): Promise<UpdateCheckResult> {
|
||||||
|
|||||||
Reference in New Issue
Block a user