Skip to content

Commit 48947ae

Browse files
committed
version 0.2.2 is ready
1 parent 6d78715 commit 48947ae

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ exports.ids = {
1717
'bifmfjgpgndemajpeeoiopbeilbaifdo', // External Application Button (Chrome)
1818
'enemdfoackoekaedijjmjlckkleokhih', // External Application Button (Opera)
1919
'ihpiinojhnfhpdmmacgmpoonphhimkaj', // Open in VLC (Chrome)
20+
'gmkfhhacdjeabnmomjdnachnmmaaacli', // Test
2021
],
2122
firefox: [
2223
'{5610edea-88c1-4370-b93d-86aa131971d1}', // Open in IE

host.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var https = lazyRequire('./follow-redirects').https;
2020
var server, files = [];
2121

2222
var config = {
23-
version: '0.2.1'
23+
version: '0.2.2'
2424
};
2525
// closing node when parent process is killed
2626
process.stdin.resume();

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
cd ./app
44

55
if type node 2>/dev/null; then
6-
echo Installer is using your system NodeJS; Please make sure your NodeJS is up-to-date.
6+
echo "Installer is using your system NodeJS; Please make sure your NodeJS is up-to-date."
77
sudo node install.js `which node` $1
88
else
9-
echo Installer is using the attached NodeJS
9+
echo "Installer is using the attached NodeJS"
1010
sudo ../node install.js --add_node $1
1111
fi
1212

linux/app/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function application (callback) {
7878
if (e) {
7979
throw e;
8080
}
81-
let isNode = process.argv.filter(a => a === '--add_node').length;
81+
let isNode = process.argv.filter(a => a === '--add_node').length === 0;
8282
let run = isNode ? `#!/bin/bash\n${process.argv[2]} host.js` : '#!/bin/bash\n./node host.js';
8383
fs.writeFile(path.join(dir, 'run.sh'), run, (e) => {
8484
if (e) {

mac/app/install.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ function application (callback) {
8080
throw e;
8181
}
8282

83-
let isNode = process.argv.filter(a => a === '--add_node').length;
83+
let isNode = process.argv.filter(a => a === '--add_node').length === 0;
8484
let run = isNode ? `#!/bin/bash\n${process.argv[2]} host.js` : '#!/bin/bash\n./node host.js';
85+
console.error(run)
8586
fs.writeFile(path.join(dir, 'run.sh'), run, (e) => {
8687
if (e) {
8788
throw e;

0 commit comments

Comments
 (0)