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

Commit

Permalink
updating node to v6.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
schomery committed Jun 18, 2017
1 parent 640906e commit a8113fe
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 14 deletions.
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

exports.ids = {
chrome: [
'nahlmfllenekibppeiahdcbblhbkgala', // Stylus External Editor Integration (Chrome)
'lmeddoobegbaiopohmpmmobpnpjifpii', // Stylus External Editor Integration (Opera)
'hhdaknihlbgjoaiaceldhnbbmogabcpk', // Stylus External Editor Integration (Chrome)
'djlnckfpakjlpfddhboajjmaeljfaacn', // Stylus External Editor Integration (Opera)
],
firefox: [
'95fce6c2e847856344b2156491239d95f56c7fc1@temporary-addon', // Stylus External Editor Integration
Expand Down
3 changes: 2 additions & 1 deletion host.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var config = {
version: '0.1.0'
version: '0.1.2'
};
// closing node when parent process is killed
process.stdin.resume();
Expand Down Expand Up @@ -40,6 +40,7 @@ function observe (request, push, done) {
const vm = require('vm');
const sandbox = {
version: config.version,
env: process.env,
push,
close,
// only allow internal modules that extension already requested permission for
Expand Down
7 changes: 6 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ if type node 2>/dev/null; then
echo "Installer is using your system NodeJS; Please make sure your NodeJS is up-to-date."
node install.js `which node` $1
else
MACHINE_TYPE=`uname -m`
echo "Installer is using the attached NodeJS"
../node install.js --add_node $1
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
../node/x64/node install.js --add_node $1
else
../node/x86/node install.js --add_node $1
fi
fi

Binary file renamed linux/node → linux/node/x64/node
Binary file not shown.
Binary file added linux/node/x86/node
Binary file not shown.
2 changes: 1 addition & 1 deletion mac/app/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function application (callback) {
}
fs.chmodSync(path.join(dir, 'run.sh'), '0755');
if (!isNode) {
fs.createReadStream('../node').pipe(fs.createWriteStream(path.join(dir, 'node')));
fs.createReadStream(process.argv[0]).pipe(fs.createWriteStream(path.join(dir, 'node')));
fs.chmodSync(path.join(dir, 'node'), '0755');
}
fs.createReadStream('host.js').pipe(fs.createWriteStream(path.join(dir, 'host.js')));
Expand Down
Loading

0 comments on commit a8113fe

Please sign in to comment.