aboutsummaryrefslogtreecommitdiffstats
path: root/src/environment.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.ts')
-rw-r--r--src/environment.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/environment.ts b/src/environment.ts
index 3e63f449b..9478f803c 100644
--- a/src/environment.ts
+++ b/src/environment.ts
@@ -23,8 +23,6 @@ import {
23 iconSizeBias, 23 iconSizeBias,
24} from './config'; 24} from './config';
25 25
26import { asarPath } from './helpers/asar-helpers';
27
28// @ts-expect-error Cannot find module './buildInfo.json' or its corresponding type declarations. 26// @ts-expect-error Cannot find module './buildInfo.json' or its corresponding type declarations.
29import * as buildInfo from './buildInfo.json'; 27import * as buildInfo from './buildInfo.json';
30 28
@@ -64,11 +62,6 @@ export function userDataRecipesPath(...segments: any[]) {
64 return userDataPath('recipes', ...[segments].flat()); 62 return userDataPath('recipes', ...[segments].flat());
65} 63}
66 64
67// Replacing app.asar is not beautiful but unfortunately necessary
68export function asarRecipesPath(...segments: any[]) {
69 return join(asarPath(join(__dirname, 'recipes')), ...[segments].flat());
70}
71
72export const useLiveAPI = process.env.USE_LIVE_API; 65export const useLiveAPI = process.env.USE_LIVE_API;
73const useLocalAPI = process.env.USE_LOCAL_API; 66const useLocalAPI = process.env.USE_LOCAL_API;
74 67