This commit is contained in:
parent
438d4fed1b
commit
ce1ebda2a6
|
@ -496,6 +496,8 @@ var wide = {
|
||||||
},
|
},
|
||||||
// 构建.
|
// 构建.
|
||||||
build: function () {
|
build: function () {
|
||||||
|
wide.saveAllFiles();
|
||||||
|
|
||||||
var currentPath = editors.getCurrentPath();
|
var currentPath = editors.getCurrentPath();
|
||||||
if (!currentPath) {
|
if (!currentPath) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -520,6 +522,8 @@ var wide = {
|
||||||
},
|
},
|
||||||
// 构建并运行.
|
// 构建并运行.
|
||||||
run: function () {
|
run: function () {
|
||||||
|
wide.saveAllFiles();
|
||||||
|
|
||||||
var currentPath = editors.getCurrentPath();
|
var currentPath = editors.getCurrentPath();
|
||||||
if (!currentPath) {
|
if (!currentPath) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -579,6 +583,8 @@ var wide = {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
goinstall: function () {
|
goinstall: function () {
|
||||||
|
wide.saveAllFiles();
|
||||||
|
|
||||||
var currentPath = editors.getCurrentPath();
|
var currentPath = editors.getCurrentPath();
|
||||||
if (!currentPath) {
|
if (!currentPath) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue