diff --git a/CMakeLists.txt b/CMakeLists.txt index dd7dbf9..d0214c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10) -project(fun VERSION 0.37.32 LANGUAGES C) +project(fun VERSION 0.37.33 LANGUAGES C) set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED ON) diff --git a/examples/data/htdocs/info.fun b/examples/data/htdocs/info.fun index 65e64cb..eca1076 100644 --- a/examples/data/htdocs/info.fun +++ b/examples/data/htdocs/info.fun @@ -16,7 +16,10 @@ print("

Fun Environment Information

") print("

Current Path: " + env("PATH") + "

") print("

Current User: " + env("USER") + "

") print("

Time: " + date_format(time_now_ms(), "%Y-%m-%d %H:%M:%S") + "

") -print("

Version: " + to_string(fun_version()) + "

") +print("

Local Version: " + to_string(fun_version()) + "

") +res = proc_run("fun -V") +installed_version = res["out"] +print("

Installed Version: " + to_string(substr(installed_version, 4, len(installed_version)-2)) + "

") print("

Full Environment:

") print("