mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
fix: Update nightly update detection logic to work with release changes
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <hex/helpers/utils.hpp>
|
||||
#include <hex/helpers/fs.hpp>
|
||||
|
||||
#include <chrono>
|
||||
#include <functional>
|
||||
#include <optional>
|
||||
#include <span>
|
||||
@@ -654,6 +655,12 @@ EXPORT_MODULE namespace hex {
|
||||
*/
|
||||
std::string getCommitBranch();
|
||||
|
||||
/**
|
||||
* @brief Gets the time ImHex was built
|
||||
* @return The time ImHex was built
|
||||
*/
|
||||
std::optional<std::chrono::system_clock::time_point> getBuildTime();
|
||||
|
||||
/**
|
||||
* @brief Checks if ImHex was built in debug mode
|
||||
* @return True if ImHex was built in debug mode, false otherwise
|
||||
|
||||
Reference in New Issue
Block a user