Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 0ef01d9

Browse files
authored
fix: env does not work after bundled in an electron app (#987)
1 parent ca5fb29 commit 0ef01d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cortex-js/src/usecases/cortex/cortex.usecases.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export class CortexUsecases implements BeforeApplicationShutdown {
152152
CORTEX_JS_HOST: host,
153153
CORTEX_JS_PORT: port.toString(),
154154
CORTEX_PROFILE: fileManagerService.getConfigProfile(),
155+
...process.env,
155156
},
156157
});
157158
server.disconnect(); // closes the IPC channel

0 commit comments

Comments
 (0)