mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00:00
Save / restore experimental settings in a json.
This commit is contained in:
@@ -17,6 +17,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
#include "core/update_checker.h"
|
#include "core/update_checker.h"
|
||||||
#include "core/sandbox.h"
|
#include "core/sandbox.h"
|
||||||
#include "base/concurrent_timer.h"
|
#include "base/concurrent_timer.h"
|
||||||
|
#include "base/options.h"
|
||||||
|
|
||||||
#include <QtCore/QLoggingCategory>
|
#include <QtCore/QLoggingCategory>
|
||||||
|
|
||||||
@@ -320,6 +321,7 @@ int Launcher::exec() {
|
|||||||
|
|
||||||
// Must be started before Platform is started.
|
// Must be started before Platform is started.
|
||||||
Logs::start(this);
|
Logs::start(this);
|
||||||
|
base::options::init(cWorkingDir() + "tdata/experimental_options.json");
|
||||||
|
|
||||||
if (Logs::DebugEnabled()) {
|
if (Logs::DebugEnabled()) {
|
||||||
const auto openalLogPath = QDir::toNativeSeparators(
|
const auto openalLogPath = QDir::toNativeSeparators(
|
||||||
|
Submodule Telegram/lib_base updated: 9efbcbfebe...a056f1dcaf
Reference in New Issue
Block a user