Closed huhuanming closed 2 months ago
Switched to Asynchronous Operation
Introduced async
to UPDATE_DOWNLOAD
event callback function in AutoUpdate.ts
for handling operations in a non-blocking manner.
Improved Logging Included additional logging about status of cache directory.
Exception Management Introduced try-catch block around cache cleanup operation, enhancing error handling.
Update Download Optimization
An updateCancellationToken
generation post cache cleanup to assist with efficient functioning of downloadUpdate
function.
Review or Edit in CodeSandbox
Open the branch in Web Editor • VS Code • Insiders
Open Preview