2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Use Qt resources from a file on macOS.

This commit is contained in:
John Preston
2021-10-27 20:40:21 +04:00
parent 5276e5b4ae
commit 1ed6844247
6 changed files with 12 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/sandbox.h"
#include "base/platform/base_platform_info.h"
#include "base/base_file_utilities.h"
#include "platform/platform_specific.h"
#include "mainwidget.h"
#include "mainwindow.h"
@@ -93,6 +94,8 @@ Sandbox::Sandbox(
}
int Sandbox::start() {
base::RegisterBundledResources(u"Telegram.rcc"_q);
if (!Core::UpdaterDisabled()) {
_updateChecker = std::make_unique<Core::UpdateChecker>();
}