feat(update): implement platform-specific download URL generation for APKs

This commit is contained in:
zimplexing
2025-08-13 20:10:16 +08:00
parent 852113a21a
commit 6fdd0e2d0f
2 changed files with 10 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ class UpdateService {
return {
version: remoteVersion,
downloadUrl: UPDATE_CONFIG.GITHUB_RELEASE_URL_TEMPLATE.replace(/{version}/g, remoteVersion),
downloadUrl: UPDATE_CONFIG.getDownloadUrl(remoteVersion),
};
} catch (error) {
retries++;