mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Save / restore experimental settings in a json.
This commit is contained in:
parent
9c01295521
commit
38137e16a0
2 changed files with 3 additions and 1 deletions
|
@ -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
|
Loading…
Add table
Reference in a new issue