From 99526dc32634ce096bfada75871cd539c0df8297 Mon Sep 17 00:00:00 2001 From: freefire Date: Wed, 31 May 2023 00:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E8=B0=83=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.aardio | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/main.aardio b/main.aardio index 6cfb0dc..a17e000 100644 --- a/main.aardio +++ b/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; } //同步有同步的优势,扬长避短是智慧,倒行逆施最累人。