You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Packaged app looks for the RAxML binaries in the build machine's checkout #369
electron.vite.config.js defines __static as JSON.stringify( resolve( __dirname, 'static' ) ), an absolute path on the machine that runs yarn build. The current out/main/index.js contains the literal "/Users/johannesklein/Documents/GitHub/raxmlGUI/static".
getStaticDir() (src/main/processHelpers.ts:38) returns __static unless RAXMLGUI_E2E=1, and binaryDir (src/main/processHelpers.ts:60) is built from it. In a packaged app the binaries are copied by extraResources to <Resources>/static/bin, but binaryDir points at the CI runner's checkout, so RAxML, readal and ASTRAL runs should fail to find their binaries. The bundled example files under static/example-files are probably affected the same way.
Where it came from
Shell on electron-vite with Node shut out of the page (AntonelliLab#492, aabe50a). electron-webpack, which this replaced, resolved __static to process.resourcesPath/static in production. 2.0.19 predates the move, so no shipped release is affected; the next release would be.
e2e does not catch it: it sets RAXMLGUI_E2E=1 and runs the unpacked out/main/index.js.
To confirm
Run yarn dist-pack, move or rename the checkout's static/ folder, launch the packed app and start a run; or log binaryDir from the packed app.
Activity
jtklein-agents commentedon Nov 25, 2026
Fixed upstream in AntonelliLab#524.