mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
@@ -382,7 +382,8 @@ void StartCatching(not_null<Core::Launcher*> launcher) {
|
||||
crashpad::CrashpadClient crashpad_client;
|
||||
std::string handler = (cExeDir() + cExeName() + qsl("/Contents/Helpers/crashpad_handler")).toUtf8().constData();
|
||||
std::string database = QFile::encodeName(dumpspath).constData();
|
||||
if (crashpad_client.StartHandler(base::FilePath(handler),
|
||||
if (crashpad_client.StartHandler(
|
||||
base::FilePath(handler),
|
||||
base::FilePath(database),
|
||||
std::string(),
|
||||
ProcessAnnotations,
|
||||
|
@@ -70,22 +70,23 @@ using namespace Windows::Foundation;
|
||||
using namespace Platform;
|
||||
|
||||
namespace {
|
||||
QStringList _initLogs;
|
||||
|
||||
bool themeInited = false;
|
||||
bool finished = true;
|
||||
QMargins simpleMargins, margins;
|
||||
HICON bigIcon = 0, smallIcon = 0, overlayIcon = 0;
|
||||
QStringList _initLogs;
|
||||
|
||||
class _PsInitializer {
|
||||
public:
|
||||
bool themeInited = false;
|
||||
bool finished = true;
|
||||
QMargins simpleMargins, margins;
|
||||
HICON bigIcon = 0, smallIcon = 0, overlayIcon = 0;
|
||||
|
||||
class _PsInitializer {
|
||||
public:
|
||||
_PsInitializer() {
|
||||
Dlls::start();
|
||||
}
|
||||
};
|
||||
_PsInitializer _psInitializer;
|
||||
|
||||
};
|
||||
_PsInitializer _psInitializer;
|
||||
|
||||
} // namespace
|
||||
|
||||
void psDeleteDir(const QString &dir) {
|
||||
std::wstring wDir = QDir::toNativeSeparators(dir).toStdWString();
|
||||
|
Submodule Telegram/codegen updated: ee55a0b69f...d14ae77ad5
Submodule Telegram/lib_base updated: 78690f858f...baae6cdd9b
Submodule Telegram/lib_rpl updated: bd850834fc...2888aabf28
Submodule Telegram/lib_ui updated: 765e525458...d30d361609
2
cmake
2
cmake
Submodule cmake updated: 4490667520...b087501d66
Reference in New Issue
Block a user