去除调试代码
This commit is contained in:
parent
fc0e0bb55e
commit
99526dc326
20
main.aardio
20
main.aardio
|
@ -131,20 +131,16 @@ wb.export(
|
||||||
}
|
}
|
||||||
|
|
||||||
cmdSpecial = function(command){
|
cmdSpecial = function(command){
|
||||||
if(_STUDIO_INVOKED){
|
if(string.find(command,"make")){
|
||||||
if(string.find(command,"make")){
|
var configFile = io.splitpath(io._exefile).name + ".ini";
|
||||||
var configFile = io.splitpath(io._exefile).name + ".ini";
|
var ini = fsys.ini(configFile);
|
||||||
var ini = fsys.ini(configFile);
|
var makefilePath = string.replace(ini.getSection("Makefile").路径, "\\", "/");
|
||||||
var makefilePath = string.replace(ini.getSection("Makefile").路径, "\\", "/");
|
if(!string.endWith(makefilePath,"/")){
|
||||||
if(!string.endWith(makefilePath,"/")){
|
makefilePath = makefilePath + "/";
|
||||||
makefilePath = makefilePath + "/";
|
|
||||||
}
|
|
||||||
command = string.replace(command, "make", makefilePath+"make.bat");
|
|
||||||
mainForm.msgbox(command);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
command = string.replace(command, "make", makefilePath+"make.bat");
|
||||||
mainForm.msgbox(command);
|
mainForm.msgbox(command);
|
||||||
//return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//同步有同步的优势,扬长避短是智慧,倒行逆施最累人。
|
//同步有同步的优势,扬长避短是智慧,倒行逆施最累人。
|
||||||
|
|
Loading…
Reference in New Issue
Block a user