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