aboutsummaryrefslogtreecommitdiffstats
path: root/src/environment.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.js')
-rw-r--r--src/environment.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/environment.js b/src/environment.js
index 6332ad67b..f2a889be4 100644
--- a/src/environment.js
+++ b/src/environment.js
@@ -1,9 +1,7 @@
1import os from 'os'; 1import os from 'os';
2import { join } from 'path'; 2import { join } from 'path';
3import { ensureDirSync } from 'fs-extra';
4 3
5import { is, api as electronApi } from 'electron-util'; 4import { is, api as electronApi } from 'electron-util';
6import { shell } from 'electron';
7 5
8import { DEFAULT_ACCENT_COLOR } from '@meetfranz/theme'; 6import { DEFAULT_ACCENT_COLOR } from '@meetfranz/theme';
9 7
@@ -65,11 +63,6 @@ export function asarRecipesPath(...segments) {
65 return join(asarPath(join(__dirname, 'recipes')), ...([segments].flat())); 63 return join(asarPath(join(__dirname, 'recipes')), ...([segments].flat()));
66} 64}
67 65
68export async function openPath(folderName) {
69 ensureDirSync(folderName);
70 shell.openPath(folderName);
71}
72
73export const useLiveAPI = process.env.USE_LIVE_API; 66export const useLiveAPI = process.env.USE_LIVE_API;
74const useLocalAPI = process.env.USE_LOCAL_API; 67const useLocalAPI = process.env.USE_LOCAL_API;
75 68