1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm 2024-07-18 10:22:52 +08:00
parent 7cce998277
commit de69746937
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -399,7 +399,7 @@ export class Pushy {
target: 'update.apk', target: 'update.apk',
hash: progressKey, hash: progressKey,
}).catch(() => { }).catch(() => {
this.report({ type: 'errowDownloadAndInstallApk' }); this.report({ type: 'errorDownloadAndInstallApk' });
}); });
if (this.progressHandlers[progressKey]) { if (this.progressHandlers[progressKey]) {
this.progressHandlers[progressKey].remove(); this.progressHandlers[progressKey].remove();

View File

@ -33,7 +33,7 @@ export type EventType =
| 'downloadingApk' | 'downloadingApk'
| 'rejectStoragePermission' | 'rejectStoragePermission'
| 'errorStoragePermission' | 'errorStoragePermission'
| 'errowDownloadAndInstallApk'; | 'errorDownloadAndInstallApk';
export interface EventData { export interface EventData {
currentVersion: string; currentVersion: string;