diff --git a/src/utils/temp.ts b/src/utils/temp.ts index dd6924417..79bbea5b7 100644 --- a/src/utils/temp.ts +++ b/src/utils/temp.ts @@ -1,5 +1,4 @@ import { app } from 'electron'; -import { emptyDir } from 'fs-extra'; import path from 'path'; import { existsSync, mkdir } from 'promise-fs'; @@ -16,13 +15,6 @@ export async function getTempDirPath() { return tempDirPath; } -export async function clearEnteTempFolder() { - const tempDirPath = await this.getTempDirPath(); - if (existsSync(tempDirPath)) { - await emptyDir(tempDirPath); - } -} - export function generateTempName(length: number) { let result = '';