2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Save / restore experimental settings in a json.

This commit is contained in:
John Preston
2022-02-02 12:04:46 +03:00
parent 9c01295521
commit 38137e16a0
2 changed files with 3 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/update_checker.h"
#include "core/sandbox.h"
#include "base/concurrent_timer.h"
#include "base/options.h"
#include <QtCore/QLoggingCategory>
@@ -320,6 +321,7 @@ int Launcher::exec() {
// Must be started before Platform is started.
Logs::start(this);
base::options::init(cWorkingDir() + "tdata/experimental_options.json");
if (Logs::DebugEnabled()) {
const auto openalLogPath = QDir::toNativeSeparators(