mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
properly pass cwd to cli installer process
This commit is contained in:
parent
9fea731052
commit
a400a735ec
@ -1,11 +1,12 @@
|
||||
module.exports = function(options) {
|
||||
|
||||
// workaround for api difference between node and c9 events modules
|
||||
var EventEmitter = require("events").EventEmitter;
|
||||
EventEmitter.prototype.emit = new Function("type",
|
||||
EventEmitter.prototype.emit.toString()
|
||||
.replace(/return false/g, "return")
|
||||
.replace(/^[^{]*{/, "")
|
||||
.replace(/\}$/, ""));
|
||||
var emit_ = EventEmitter.prototype.emit
|
||||
EventEmitter.prototype.emit = function() {
|
||||
emit_.apply(this, arguments);
|
||||
return true;
|
||||
}
|
||||
|
||||
var PID = process.env.C9_PID || 526;
|
||||
var APIHOST = process.env.C9_APIHOST || "api.c9.io"; // "api.c9.io";
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
"c9.ide.help.support": "#60e88f5680",
|
||||
"c9.ide.imgeditor": "#08bbc53578",
|
||||
"c9.ide.immediate": "#6845a93705",
|
||||
"c9.ide.installer": "#80d050b6de",
|
||||
"c9.ide.installer": "#a1e01c07a3",
|
||||
"c9.ide.mount": "#32e79866ee",
|
||||
"c9.ide.navigate": "#64156c7f4a",
|
||||
"c9.ide.newresource": "#f1f0624768",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user