Merge pull request '[linux] detect CPU arch correctly on about page' (#549) from fix/about-arch into hotfix/v9.2.1

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/desktop-apps/pulls/549
This commit is contained in:
Oleg Korshul
2025-12-24 10:02:12 +00:00

View File

@ -112,6 +112,12 @@ void CMainWindowImpl::refreshAboutVersion()
# elif defined(_M_IX86)
_json_obj["arch"] = "x86";
# endif
#else
# if defined(__aarch64__)
_json_obj["arch"] = "arm64";
# elif defined(__x86_64__)
_json_obj["arch"] = "x64";
# endif
#endif
_json_obj["edition"] = _license;