diff --git a/main.aardio b/main.aardio index d43a48a..fe14271 100644 --- a/main.aardio +++ b/main.aardio @@ -70,6 +70,11 @@ mainForm.btnRun.oncommand = function(id, event) { mainForm.editConsole.print(out); } +//显示版本号 +import fsys.version; +var version = fsys.version.getInfo(io._exepath).productVersion; +mainForm.text += " " ++ tostring(version); + // 显示主窗口 mainForm.show(); return win.loopMessage(); \ No newline at end of file