mirror of https://github.com/calzoneman/sync.git
Add node version check to index.js
This commit is contained in:
parent
38c3883c01
commit
da99ea8288
7
index.js
7
index.js
|
@ -1,3 +1,10 @@
|
|||
if (/^v0/.test(process.version)) {
|
||||
console.error('node.js ' + process.version + ' is not supported. ' +
|
||||
'For more information, visit ' +
|
||||
'https://github.com/calzoneman/sync/wiki/CyTube-3.0-Installation-Guide#nodejs');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
try {
|
||||
var Server = require("./lib/server");
|
||||
} catch (err) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"author": "Calvin Montgomery",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.18.7",
|
||||
"version": "3.18.8",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue