aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/service-helpers.js
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-26 21:05:50 +0530
committerLibravatar GitHub <noreply@github.com>2021-05-26 21:05:50 +0530
commit296ce5ce62bcde6888df291f97105fa912ed7d35 (patch)
treeb28e7d2373f1020c1183469aa3a9feafecede569 /src/helpers/service-helpers.js
parentAdded new entry in context menu: 'Download image' (#1449) (diff)
downloadferdium-app-296ce5ce62bcde6888df291f97105fa912ed7d35.tar.gz
ferdium-app-296ce5ce62bcde6888df291f97105fa912ed7d35.tar.zst
ferdium-app-296ce5ce62bcde6888df291f97105fa912ed7d35.zip
Replace 'remote' with 'electron/remote' (#1448)
* Locked new version of 'recipes' submodule with corresponding changes.
Diffstat (limited to 'src/helpers/service-helpers.js')
-rw-r--r--src/helpers/service-helpers.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/helpers/service-helpers.js b/src/helpers/service-helpers.js
index 83f89f108..f6363aca8 100644
--- a/src/helpers/service-helpers.js
+++ b/src/helpers/service-helpers.js
@@ -1,9 +1,7 @@
1import path from 'path'; 1import path from 'path';
2import { remote } from 'electron'; 2import { app } from '@electron/remote';
3import fs from 'fs-extra'; 3import fs from 'fs-extra';
4 4
5const { app } = remote;
6
7export function getServicePartitionsDirectory() { 5export function getServicePartitionsDirectory() {
8 return path.join(app.getPath('userData'), 'Partitions'); 6 return path.join(app.getPath('userData'), 'Partitions');
9} 7}