diff --git a/lib/index.js b/lib/index.js index 6287585..7081530 100644 --- a/lib/index.js +++ b/lib/index.js @@ -179,6 +179,7 @@ export async function downloadUpdate(options, eventListeners) { }); } progressHandler && progressHandler.remove(); + await new Promise((resolve) => setTimeout(resolve, 100)); return options.hash; }