add 程序标题后添加当前版本号

This commit is contained in:
freefire 2025-01-13 22:09:49 +08:00
parent 7e9798604c
commit 45a8648280

View File

@ -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();