From 4fd4fa85db92ef1f8fe11dc04c4b0539187dde66 Mon Sep 17 00:00:00 2001 From: Florian Richer Date: Sun, 13 Aug 2023 18:03:40 +0200 Subject: [PATCH] Update Hyprload.cpp --- src/Hyprload.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Hyprload.cpp b/src/Hyprload.cpp index fb99a66..4e5fb23 100644 --- a/src/Hyprload.cpp +++ b/src/Hyprload.cpp @@ -72,6 +72,10 @@ namespace hyprload { return false; } + if (hyprlandCommitWhenBuilt == "") { + return true; // Source from package manager return no commit id + } + if (hyprlandCommitWhenBuilt != getCurrentHyprlandCommitHash()) { debug("hyprlandCommitWhenBuilt: " + hyprlandCommitWhenBuilt); debug("hyprlandCommitNow: " + getCurrentHyprlandCommitHash());