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(

@ -1 +1 @@
Subproject commit 9efbcbfebeba378a269b73bf7040b7a1f8e7ca57
Subproject commit a056f1dcafbc215d0c94215f15141e994782b46a