We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29931f6 commit 7860163Copy full SHA for 7860163
src/auto-updater.ts
@@ -25,7 +25,7 @@ export class AutoUpdater extends EventEmitter {
25
if (dbList) this.dbList = dbList
26
if (customStorageDir) this.customStorageDir = customStorageDir
27
28
- cleanupHotDownloadDir();
+ cleanupHotDownloadDir(this.customStorageDir);
29
30
this.#checker = setInterval(
31
this.checkForUpdates.bind(this),
@@ -69,7 +69,7 @@ export class AutoUpdater extends EventEmitter {
69
console.error(err)
70
console.warn('Warning: allowing the GeoLite databases to self-update is mandatory to comply with license requirements.')
71
} finally {
72
- cleanupHotDownloadDir()
+ cleanupHotDownloadDir(this.customStorageDir)
73
this.downloading = false
74
}
75
0 commit comments