mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Simplify app name in Install-nd-Remove.
This commit is contained in:
parent
eaf679916a
commit
2201159da5
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ void updateRegistry() {
|
||||||
SYSTEMTIME stLocalTime;
|
SYSTEMTIME stLocalTime;
|
||||||
GetLocalTime(&stLocalTime);
|
GetLocalTime(&stLocalTime);
|
||||||
RegSetValueEx(rkey, L"DisplayVersion", 0, REG_SZ, (const BYTE*)versionStr, ((versionLen / 2) + 1) * sizeof(WCHAR));
|
RegSetValueEx(rkey, L"DisplayVersion", 0, REG_SZ, (const BYTE*)versionStr, ((versionLen / 2) + 1) * sizeof(WCHAR));
|
||||||
wsprintf(nameStr, L"Telegram Desktop version %s", versionStr);
|
wsprintf(nameStr, L"Telegram Desktop");
|
||||||
RegSetValueEx(rkey, L"DisplayName", 0, REG_SZ, (const BYTE*)nameStr, (wcslen(nameStr) + 1) * sizeof(WCHAR));
|
RegSetValueEx(rkey, L"DisplayName", 0, REG_SZ, (const BYTE*)nameStr, (wcslen(nameStr) + 1) * sizeof(WCHAR));
|
||||||
wsprintf(publisherStr, L"Telegram FZ-LLC");
|
wsprintf(publisherStr, L"Telegram FZ-LLC");
|
||||||
RegSetValueEx(rkey, L"Publisher", 0, REG_SZ, (const BYTE*)publisherStr, (wcslen(publisherStr) + 1) * sizeof(WCHAR));
|
RegSetValueEx(rkey, L"Publisher", 0, REG_SZ, (const BYTE*)publisherStr, (wcslen(publisherStr) + 1) * sizeof(WCHAR));
|
||||||
|
|
Loading…
Add table
Reference in a new issue