diff options
Diffstat (limited to 'src/helpers/recipe-helpers.js')
-rw-r--r-- | src/helpers/recipe-helpers.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/helpers/recipe-helpers.js b/src/helpers/recipe-helpers.js index a31c29e72..7daa0aaab 100644 --- a/src/helpers/recipe-helpers.js +++ b/src/helpers/recipe-helpers.js | |||
@@ -1,9 +1,5 @@ | |||
1 | import path from 'path'; | 1 | import path from 'path'; |
2 | import { remote } from 'electron'; | 2 | import { app } from '@electron/remote'; |
3 | |||
4 | // import ServiceModel from '../models/Service'; | ||
5 | |||
6 | const { app } = remote; | ||
7 | 3 | ||
8 | export function getRecipeDirectory(id = '') { | 4 | export function getRecipeDirectory(id = '') { |
9 | return path.join(app.getPath('userData'), 'recipes', id); | 5 | return path.join(app.getPath('userData'), 'recipes', id); |