diff options
author | 2017-11-04 00:28:41 +0100 | |
---|---|---|
committer | 2017-11-04 00:28:41 +0100 | |
commit | 6c32d1ab4a89105cfaae221eeac354efefdbe72c (patch) | |
tree | c63981a7a4749fc21c9e2dfa1f490052d6a4b157 | |
parent | Improve (dev) recipe loading (diff) | |
download | ferdium-app-6c32d1ab4a89105cfaae221eeac354efefdbe72c.tar.gz ferdium-app-6c32d1ab4a89105cfaae221eeac354efefdbe72c.tar.zst ferdium-app-6c32d1ab4a89105cfaae221eeac354efefdbe72c.zip |
Clean recipe temp dir on start
-rw-r--r-- | src/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js index a72d76f3a..a3aa14732 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -18,6 +18,7 @@ let willQuitApp = false; | |||
18 | 18 | ||
19 | // Ensure that the recipe directory exists | 19 | // Ensure that the recipe directory exists |
20 | fs.ensureDir(path.join(app.getPath('userData'), 'recipes')); | 20 | fs.ensureDir(path.join(app.getPath('userData'), 'recipes')); |
21 | fs.emptyDirSync(path.join(app.getPath('userData'), 'recipes', 'temp')); | ||
21 | 22 | ||
22 | // Set App ID for Windows | 23 | // Set App ID for Windows |
23 | if (isWindows) { | 24 | if (isWindows) { |