fix: export PATH env to engine destination folder to have additional dlls scoped
This commit is contained in:
parent
0e653793eb
commit
e41bcffcef
@ -33,6 +33,11 @@ function run(systemInfo?: SystemInformation): Promise<any> {
|
|||||||
addEnvPaths(path.join(appResourcePath(), 'shared'))
|
addEnvPaths(path.join(appResourcePath(), 'shared'))
|
||||||
addEnvPaths(executableOptions.binPath)
|
addEnvPaths(executableOptions.binPath)
|
||||||
addEnvPaths(executableOptions.enginePath)
|
addEnvPaths(executableOptions.enginePath)
|
||||||
|
// Add the cortex.llamacpp path to the PATH and LD_LIBRARY_PATH
|
||||||
|
// This is required for the cortex engine to run for now since dlls are not moved to the root
|
||||||
|
addEnvPaths(
|
||||||
|
path.join(executableOptions.enginePath, 'engines', 'cortex.llamacpp')
|
||||||
|
)
|
||||||
|
|
||||||
const dataFolderPath = getJanDataFolderPath()
|
const dataFolderPath = getJanDataFolderPath()
|
||||||
watchdog = new ProcessWatchdog(
|
watchdog = new ProcessWatchdog(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user