Add ability to report version to cthulhu.

This commit is contained in:
Storm Dragon committed 2026-10-24 15:08:19 -04:00
1 parent 17052c5147
commit 24c35d7954
3 files changed
+13 -1

No files matched your search

+5
View File
@@ -35,6 +35,11 @@
#include <string>
namespace {
// Read directly by readers without starting Wine or initializing a prefix.
// Keep this in the sidecar so it identifies the installed executable itself.
__attribute__((used, section(".wine_access.version")))
const char installedVersion[] = WINE_ACCESS_VERSION;
ReaderEndpoint readerEndpoint = CthulhuEndpoint;
constexpr int DBUS_TIMEOUT_MS = 500;
GDBusConnection *connection = nullptr;