mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 06:38:13 -05:00
parent
f1a7a13eda
commit
30341d47a0
@ -155,7 +155,7 @@ class Uploader {
|
|||||||
return false
|
return false
|
||||||
} finally {
|
} finally {
|
||||||
if (filePath) {
|
if (filePath) {
|
||||||
fse.unlink(filePath)
|
fse.remove(filePath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -223,7 +223,7 @@ class LifeCycle {
|
|||||||
settingWindow.focus()
|
settingWindow.focus()
|
||||||
}
|
}
|
||||||
const clipboardDir = path.join(picgo.baseDir, CLIPBOARD_IMAGE_FOLDER)
|
const clipboardDir = path.join(picgo.baseDir, CLIPBOARD_IMAGE_FOLDER)
|
||||||
fs.ensureDir(clipboardDir)
|
fs.emptyDir(clipboardDir)
|
||||||
}
|
}
|
||||||
app.whenReady().then(readyFunction)
|
app.whenReady().then(readyFunction)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user