kopia lustrzana https://github.com/c9/core
First step towards generic instaler GUI
rodzic
746326859e
commit
7e66c37bc6
|
@ -1,6 +1,5 @@
|
||||||
var assert = require("assert");
|
var assert = require("assert");
|
||||||
|
|
||||||
|
|
||||||
module.exports = function(options) {
|
module.exports = function(options) {
|
||||||
assert(options.staticPrefix, "Option 'staticPrefix' must be set");
|
assert(options.staticPrefix, "Option 'staticPrefix' must be set");
|
||||||
assert(options.workspaceDir, "Option 'workspaceDir' must be set");
|
assert(options.workspaceDir, "Option 'workspaceDir' must be set");
|
||||||
|
@ -47,6 +46,7 @@ module.exports = function(options) {
|
||||||
env: options.env || "devel",
|
env: options.env || "devel",
|
||||||
home: options.home,
|
home: options.home,
|
||||||
platform: options.platform,
|
platform: options.platform,
|
||||||
|
architecture: options.architecture,
|
||||||
installed: options.installed,
|
installed: options.installed,
|
||||||
projectId: options.project.id,
|
projectId: options.project.id,
|
||||||
projectName: options.projectName || "Project",
|
projectName: options.projectName || "Project",
|
||||||
|
@ -507,7 +507,8 @@ module.exports = function(options) {
|
||||||
{
|
{
|
||||||
packagePath: "plugins/c9.ide.installer/installer",
|
packagePath: "plugins/c9.ide.installer/installer",
|
||||||
homeDir: options.homeDir,
|
homeDir: options.homeDir,
|
||||||
installSelfCheck: true
|
installSelfCheck: true,
|
||||||
|
installPath: options.installPath
|
||||||
},
|
},
|
||||||
|
|
||||||
// Previewer
|
// Previewer
|
||||||
|
|
|
@ -77,13 +77,13 @@
|
||||||
"c9.ide.behaviors": "#6aad7006a0",
|
"c9.ide.behaviors": "#6aad7006a0",
|
||||||
"c9.ide.closeconfirmation": "#a28bfd8272",
|
"c9.ide.closeconfirmation": "#a28bfd8272",
|
||||||
"c9.ide.configuration": "#b8470f4107",
|
"c9.ide.configuration": "#b8470f4107",
|
||||||
"c9.ide.dialog.wizard": "#a588b64050",
|
"c9.ide.dialog.wizard": "#4a9be8ae70",
|
||||||
"c9.ide.fontawesome": "#781602c5d8",
|
"c9.ide.fontawesome": "#781602c5d8",
|
||||||
"c9.ide.format": "#f51451ac57",
|
"c9.ide.format": "#f51451ac57",
|
||||||
"c9.ide.help.support": "#60e88f5680",
|
"c9.ide.help.support": "#60e88f5680",
|
||||||
"c9.ide.imgeditor": "#08bbc53578",
|
"c9.ide.imgeditor": "#08bbc53578",
|
||||||
"c9.ide.immediate": "#6845a93705",
|
"c9.ide.immediate": "#6845a93705",
|
||||||
"c9.ide.installer": "#a4cefa7992",
|
"c9.ide.installer": "#0e473cecfb",
|
||||||
"c9.ide.mount": "#32e79866ee",
|
"c9.ide.mount": "#32e79866ee",
|
||||||
"c9.ide.navigate": "#64156c7f4a",
|
"c9.ide.navigate": "#64156c7f4a",
|
||||||
"c9.ide.newresource": "#9a7464cc47",
|
"c9.ide.newresource": "#9a7464cc47",
|
||||||
|
|
|
@ -465,6 +465,11 @@ define(function(require, module, exports) {
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get modal(){ return modal; },
|
get modal(){ return modal; },
|
||||||
|
/**
|
||||||
|
* @property {Boolean} visible
|
||||||
|
* @readonly
|
||||||
|
*/
|
||||||
|
get visible(){ return dialog && dialog.visible; },
|
||||||
/**
|
/**
|
||||||
* @property {Boolean} allowClose
|
* @property {Boolean} allowClose
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -44,6 +44,7 @@ module.exports = function(manifest, installPath) {
|
||||||
host: process.env.IP || "0.0.0.0",
|
host: process.env.IP || "0.0.0.0",
|
||||||
testing: false,
|
testing: false,
|
||||||
platform: process.platform,
|
platform: process.platform,
|
||||||
|
arch: process.arch,
|
||||||
tmux: path.join(installPath, "bin/tmux"),
|
tmux: path.join(installPath, "bin/tmux"),
|
||||||
nakBin: path.join(__dirname, "../node_modules/nak/bin/nak"),
|
nakBin: path.join(__dirname, "../node_modules/nak/bin/nak"),
|
||||||
bashBin: "bash",
|
bashBin: "bash",
|
||||||
|
|
Ładowanie…
Reference in New Issue