We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70fc688 commit 82eae86Copy full SHA for 82eae86
src/node-loader.js
@@ -642,7 +642,7 @@ function nodeLoader() {
642
if (Phoenix.platform === "win" && nodeSrcPath.startsWith('\\\\?\\')) {
643
nodeSrcPath = nodeSrcPath.slice(4);
644
}
645
- if(Phoenix.platform === "linux") {
+ if(Phoenix.platform === "linux" && window.__TAURI__) {
646
// in linux installed distributions, src-node is present in the same dir as the executable.
647
const cliArgs = await window.__TAURI__.invoke('_get_commandline_args');
648
nodeSrcPath = `${window.path.dirname(cliArgs[0])}/src-node/index.js`;
0 commit comments