mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Better fixes for the SDK
This commit is contained in:
parent
33195252ac
commit
4f12650ecf
@ -102,10 +102,8 @@ define(function(require, exports, module) {
|
||||
}
|
||||
|
||||
function installPlugin(name, version, callback){
|
||||
// proc.spawn("c9", {
|
||||
// args: ["install", "--local", "--force", "--accessToken=" + auth.accessToken, name + "@" + version]
|
||||
proc.spawn("/home/ubuntu/.nvm/v0.10.28/bin/node", {
|
||||
args: ["/mnt/shared/bin/c9", "install", "--local", "--force", "--accessToken=" + auth.accessToken, name + "@" + version]
|
||||
proc.spawn("bash", {
|
||||
args: ["-c", ["c9", "install", "--local", "--force", "--accessToken=" + auth.accessToken, name + "@" + version].join(" ")]
|
||||
}, function(err, process){
|
||||
if (err) return callback(err);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user