mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
@@ -382,7 +382,8 @@ void StartCatching(not_null<Core::Launcher*> launcher) {
|
|||||||
crashpad::CrashpadClient crashpad_client;
|
crashpad::CrashpadClient crashpad_client;
|
||||||
std::string handler = (cExeDir() + cExeName() + qsl("/Contents/Helpers/crashpad_handler")).toUtf8().constData();
|
std::string handler = (cExeDir() + cExeName() + qsl("/Contents/Helpers/crashpad_handler")).toUtf8().constData();
|
||||||
std::string database = QFile::encodeName(dumpspath).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),
|
base::FilePath(database),
|
||||||
std::string(),
|
std::string(),
|
||||||
ProcessAnnotations,
|
ProcessAnnotations,
|
||||||
|
@@ -70,22 +70,23 @@ using namespace Windows::Foundation;
|
|||||||
using namespace Platform;
|
using namespace Platform;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
QStringList _initLogs;
|
|
||||||
|
|
||||||
bool themeInited = false;
|
QStringList _initLogs;
|
||||||
bool finished = true;
|
|
||||||
QMargins simpleMargins, margins;
|
|
||||||
HICON bigIcon = 0, smallIcon = 0, overlayIcon = 0;
|
|
||||||
|
|
||||||
class _PsInitializer {
|
bool themeInited = false;
|
||||||
public:
|
bool finished = true;
|
||||||
|
QMargins simpleMargins, margins;
|
||||||
|
HICON bigIcon = 0, smallIcon = 0, overlayIcon = 0;
|
||||||
|
|
||||||
|
class _PsInitializer {
|
||||||
|
public:
|
||||||
_PsInitializer() {
|
_PsInitializer() {
|
||||||
Dlls::start();
|
Dlls::start();
|
||||||
}
|
}
|
||||||
};
|
|
||||||
_PsInitializer _psInitializer;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
_PsInitializer _psInitializer;
|
||||||
|
|
||||||
|
} // namespace
|
||||||
|
|
||||||
void psDeleteDir(const QString &dir) {
|
void psDeleteDir(const QString &dir) {
|
||||||
std::wstring wDir = QDir::toNativeSeparators(dir).toStdWString();
|
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