diff options
Diffstat (limited to 'packages/main/src/index.ts')
-rw-r--r-- | packages/main/src/index.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/main/src/index.ts b/packages/main/src/index.ts index 78861c2..3494f25 100644 --- a/packages/main/src/index.ts +++ b/packages/main/src/index.ts | |||
@@ -23,14 +23,11 @@ import os from 'node:os'; | |||
23 | 23 | ||
24 | import { app } from 'electron'; | 24 | import { app } from 'electron'; |
25 | 25 | ||
26 | import { | 26 | import { enableStacktraceSourceMaps } from './infrastructure/electron/impl/devTools'; |
27 | enableStacktraceSourceMaps, | ||
28 | ensureDevDataDir, | ||
29 | } from './infrastructure/electron/impl/devTools'; | ||
30 | import electronShell from './infrastructure/electron/impl/electronShell'; | 27 | import electronShell from './infrastructure/electron/impl/electronShell'; |
31 | import initReactions from './initReactions'; | 28 | import initReactions from './initReactions'; |
32 | import MainStore from './stores/MainStore'; | 29 | import MainStore from './stores/MainStore'; |
33 | import { getLogger } from './utils/log'; | 30 | import getLogger from './utils/getLogger'; |
34 | 31 | ||
35 | const isDevelopment = import.meta.env.MODE === 'development'; | 32 | const isDevelopment = import.meta.env.MODE === 'development'; |
36 | 33 | ||
@@ -40,7 +37,6 @@ const log = getLogger('index'); | |||
40 | app.enableSandbox(); | 37 | app.enableSandbox(); |
41 | 38 | ||
42 | if (isDevelopment) { | 39 | if (isDevelopment) { |
43 | ensureDevDataDir(); | ||
44 | enableStacktraceSourceMaps(); | 40 | enableStacktraceSourceMaps(); |
45 | } | 41 | } |
46 | 42 | ||