From 45a8648280815cb37fde7e8ca0a5274561f56ab8 Mon Sep 17 00:00:00 2001 From: freefire <97975089@qq.com> Date: Mon, 13 Jan 2025 22:09:49 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E7=A8=8B=E5=BA=8F=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E5=90=8E=E6=B7=BB=E5=8A=A0=E5=BD=93=E5=89=8D=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.aardio | 5 +++++ 1 file changed, 5 insertions(+) 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