Skip to content
This repository was archived by the owner on Jun 3, 2018. It is now read-only.

Commit a8113fe

Browse files
committed
updating node to v6.11.0
1 parent 640906e commit a8113fe

File tree

11 files changed

+25
-14
lines changed

11 files changed

+25
-14
lines changed

config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
exports.ids = {
44
chrome: [
5-
'nahlmfllenekibppeiahdcbblhbkgala', // Stylus External Editor Integration (Chrome)
6-
'lmeddoobegbaiopohmpmmobpnpjifpii', // Stylus External Editor Integration (Opera)
5+
'hhdaknihlbgjoaiaceldhnbbmogabcpk', // Stylus External Editor Integration (Chrome)
6+
'djlnckfpakjlpfddhboajjmaeljfaacn', // Stylus External Editor Integration (Opera)
77
],
88
firefox: [
99
'95fce6c2e847856344b2156491239d95f56c7fc1@temporary-addon', // Stylus External Editor Integration

host.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
var config = {
4-
version: '0.1.0'
4+
version: '0.1.2'
55
};
66
// closing node when parent process is killed
77
process.stdin.resume();
@@ -40,6 +40,7 @@ function observe (request, push, done) {
4040
const vm = require('vm');
4141
const sandbox = {
4242
version: config.version,
43+
env: process.env,
4344
push,
4445
close,
4546
// only allow internal modules that extension already requested permission for

install.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ if type node 2>/dev/null; then
66
echo "Installer is using your system NodeJS; Please make sure your NodeJS is up-to-date."
77
node install.js `which node` $1
88
else
9+
MACHINE_TYPE=`uname -m`
910
echo "Installer is using the attached NodeJS"
10-
../node install.js --add_node $1
11+
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
12+
../node/x64/node install.js --add_node $1
13+
else
14+
../node/x86/node install.js --add_node $1
15+
fi
1116
fi
1217

29.1 MB
Binary file not shown.

linux/node/x86/node

27.4 MB
Binary file not shown.

mac/app/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function application (callback) {
9393
}
9494
fs.chmodSync(path.join(dir, 'run.sh'), '0755');
9595
if (!isNode) {
96-
fs.createReadStream('../node').pipe(fs.createWriteStream(path.join(dir, 'node')));
96+
fs.createReadStream(process.argv[0]).pipe(fs.createWriteStream(path.join(dir, 'node')));
9797
fs.chmodSync(path.join(dir, 'node'), '0755');
9898
}
9999
fs.createReadStream('host.js').pipe(fs.createWriteStream(path.join(dir, 'host.js')));

0 commit comments

Comments
 (0)