First step towards generic instaler GUI

pull/64/head
Ruben Daniels 2015-03-30 01:13:30 +00:00 zatwierdzone przez nightwing
rodzic 746326859e
commit 7e66c37bc6
4 zmienionych plików z 11 dodań i 4 usunięć

Wyświetl plik

@ -1,6 +1,5 @@
var assert = require("assert");
module.exports = function(options) {
assert(options.staticPrefix, "Option 'staticPrefix' must be set");
assert(options.workspaceDir, "Option 'workspaceDir' must be set");
@ -47,6 +46,7 @@ module.exports = function(options) {
env: options.env || "devel",
home: options.home,
platform: options.platform,
architecture: options.architecture,
installed: options.installed,
projectId: options.project.id,
projectName: options.projectName || "Project",
@ -507,7 +507,8 @@ module.exports = function(options) {
{
packagePath: "plugins/c9.ide.installer/installer",
homeDir: options.homeDir,
installSelfCheck: true
installSelfCheck: true,
installPath: options.installPath
},
// Previewer

Wyświetl plik

@ -77,13 +77,13 @@
"c9.ide.behaviors": "#6aad7006a0",
"c9.ide.closeconfirmation": "#a28bfd8272",
"c9.ide.configuration": "#b8470f4107",
"c9.ide.dialog.wizard": "#a588b64050",
"c9.ide.dialog.wizard": "#4a9be8ae70",
"c9.ide.fontawesome": "#781602c5d8",
"c9.ide.format": "#f51451ac57",
"c9.ide.help.support": "#60e88f5680",
"c9.ide.imgeditor": "#08bbc53578",
"c9.ide.immediate": "#6845a93705",
"c9.ide.installer": "#a4cefa7992",
"c9.ide.installer": "#0e473cecfb",
"c9.ide.mount": "#32e79866ee",
"c9.ide.navigate": "#64156c7f4a",
"c9.ide.newresource": "#9a7464cc47",

Wyświetl plik

@ -465,6 +465,11 @@ define(function(require, module, exports) {
* @readonly
*/
get modal(){ return modal; },
/**
* @property {Boolean} visible
* @readonly
*/
get visible(){ return dialog && dialog.visible; },
/**
* @property {Boolean} allowClose
*/

Wyświetl plik

@ -44,6 +44,7 @@ module.exports = function(manifest, installPath) {
host: process.env.IP || "0.0.0.0",
testing: false,
platform: process.platform,
arch: process.arch,
tmux: path.join(installPath, "bin/tmux"),
nakBin: path.join(__dirname, "../node_modules/nak/bin/nak"),
bashBin: "bash",