aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.cpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2024-09-19 11:39:54 +0100
committervaxerski <[email protected]>2024-09-19 11:40:00 +0100
commit92df6b0dce1b81b130c2b0e46d206c8c3dbb2971 (patch)
treed0f4939addce5f793fdb655046eb373e72fffac2 /src/main.cpp
parent71963972bff15acccd9abd0dfd3e70504609b7cc (diff)
downloadHyprland-92df6b0dce1b81b130c2b0e46d206c8c3dbb2971.tar.gz
Hyprland-92df6b0dce1b81b130c2b0e46d206c8c3dbb2971.zip
version: log build aquamarine version
log the built against aq version, might be useful when it's mismatched to identify the problem
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 525ad4ff..ba6fe505 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -118,7 +118,8 @@ int main(int argc, char** argv) {
auto commitMsg = trim(GIT_COMMIT_MESSAGE);
std::replace(commitMsg.begin(), commitMsg.end(), '#', ' ');
std::string result = "Hyprland, built from branch " + std::string(GIT_BRANCH) + " at commit " + GIT_COMMIT_HASH + " " + GIT_DIRTY + " (" + commitMsg +
- ").\nDate: " + GIT_COMMIT_DATE + "\nTag: " + GIT_TAG + ", commits: " + GIT_COMMITS + "\n\nflags: (if any)\n";
+ ").\nDate: " + GIT_COMMIT_DATE + "\nTag: " + GIT_TAG + ", commits: " + GIT_COMMITS + std::string{"\nbuilt against aquamarine "} + AQUAMARINE_VERSION + "\n" +
+ "\n\nflags: (if any)\n";
#ifdef LEGACY_RENDERER
result += "legacyrenderer\n";