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:
@@ -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>();
|
||||
}
|
||||
|
Reference in New Issue
Block a user