Skip to content

Commit

Permalink
fixes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-portmen committed Sep 23, 2017
1 parent c0aac13 commit 6569223
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion host.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var files = [];
var sprocess = [];

var config = {
version: '0.5.4'
version: '0.5.5'
};
// closing node when parent process is killed
process.stdin.resume();
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

cd ./app

Expand Down
2 changes: 1 addition & 1 deletion linux/app/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function application(callback) {
throw e;
}
const isNode = process.argv.filter(a => a === '--add_node').length === 0;
const run = `#!/bin/bash\n${isNode ? process.argv[0] : './node'} host.js`;
const run = `#!/usr/bin/env bash\n${isNode ? process.argv[0] : './node'} host.js`;
fs.writeFile(path.join(dir, 'run.sh'), run, e => {
if (e) {
throw e;
Expand Down
4 changes: 2 additions & 2 deletions linux/uninstall.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
#
#!/usr/bin/env bash

echo " -> Removing manifest file for Google Chrome"
rm -f ~/.config/google-chrome/NativeMessagingHosts/com.add0n.node.json
echo " -> Removing manifest file for Chromium"
Expand Down
2 changes: 1 addition & 1 deletion mac/app/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function application(callback) {
}

const isNode = process.argv.filter(a => a === '--add_node').length === 0;
const run = `#!/bin/bash\n${isNode ? process.argv[0] : './node'} host.js`;
const run = `#!/usr/bin/env bash\n${isNode ? process.argv[0] : './node'} host.js`;

fs.writeFile(path.join(dir, 'run.sh'), run, e => {
if (e) {
Expand Down
4 changes: 2 additions & 2 deletions mac/uninstall.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
#
#!/usr/bin/env bash

echo " -> Removing manifest file for Google Chrome"
rm -f ~/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/com.add0n.node.json
echo " -> Removing manifest file for Chromium"
Expand Down
2 changes: 1 addition & 1 deletion prepare.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

cd linux
zip ../linux.zip -9 -r * -x "*.DS_Store"
Expand Down

0 comments on commit 6569223

Please sign in to comment.