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.
2 parents 555c961 + c43a570 commit 7d22901Copy full SHA for 7d22901
linux/app/install.js
@@ -86,7 +86,7 @@ function application() {
86
return reject(e);
87
}
88
const isNode = process.argv.filter(a => a === '--add_node').length === 0;
89
- const run = `#!/usr/bin/env bash\n${isNode ? process.argv[0] : './node'} host.js`;
+ const run = `#!/usr/bin/env bash\n${isNode ? process.argv[0] : './node'} $(dirname "$0")/host.js`;
90
fs.writeFile(path.join(dir, 'run.sh'), run, e => {
91
if (e) {
92
0 commit comments