mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
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:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user