mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix escaping in linux launcher creating
This commit is contained in:
@@ -112,10 +112,12 @@ auto GenerateCodes() {
|
||||
}
|
||||
});
|
||||
});
|
||||
#ifndef TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME
|
||||
codes.emplace(qsl("registertg"), [](::Main::Session *session) {
|
||||
Platform::RegisterCustomScheme();
|
||||
Platform::RegisterCustomScheme(true);
|
||||
Ui::Toast::Show("Forced custom scheme register.");
|
||||
});
|
||||
#endif // !TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME
|
||||
codes.emplace(qsl("export"), [](::Main::Session *session) {
|
||||
session->data().startExport();
|
||||
});
|
||||
|
Reference in New Issue
Block a user