many UI fixes and new screenshot

This commit is contained in:
Armin 2026-09-17 11:29:01 +02:00
commit 88ed77a0c6
8 changed files with 43 additions and 29 deletions

View file

@ -36,14 +36,16 @@ if(NOT GIT_HASH)
endif()
execute_process(
COMMAND git rev-list --count HEAD
COMMAND git status --porcelain
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_LOCAL_COMMITS
OUTPUT_VARIABLE GIT_STATUS
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET
)
if(NOT GIT_LOCAL_COMMITS)
set(GIT_LOCAL_COMMITS "0")
if(GIT_STATUS STREQUAL "")
set(GIT_DIRTY "clean")
else()
set(GIT_DIRTY "dirty")
endif()
string(TIMESTAMP BUILD_TIME "%Y-%m-%d %H:%M:%S")