diff options
Diffstat (limited to 'src/environment.ts')
-rw-r--r-- | src/environment.ts | 7 |
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 | ||
26 | import { 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. |
29 | import * as buildInfo from './buildInfo.json'; | 27 | import * 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 | ||
68 | export function asarRecipesPath(...segments: any[]) { | ||
69 | return join(asarPath(join(__dirname, 'recipes')), ...[segments].flat()); | ||
70 | } | ||
71 | |||
72 | export const useLiveAPI = process.env.USE_LIVE_API; | 65 | export const useLiveAPI = process.env.USE_LIVE_API; |
73 | const useLocalAPI = process.env.USE_LOCAL_API; | 66 | const useLocalAPI = process.env.USE_LOCAL_API; |
74 | 67 | ||