mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Set linux webview debug mode via D-Bus IPC
This commit is contained in:
parent
3fe403117a
commit
2d69329dc9
2 changed files with 3 additions and 4 deletions
|
@ -52,9 +52,8 @@ Launcher::Launcher(int argc, char *argv[])
|
|||
|
||||
int Launcher::exec() {
|
||||
for (auto i = begin(_arguments), e = end(_arguments); i != e; ++i) {
|
||||
if (*i == "-webviewhelper" && std::distance(i, e) > 2) {
|
||||
Webview::WebKit2Gtk::SetDebug(*(i + 1));
|
||||
Webview::WebKit2Gtk::SetSocketPath(*(i + 2));
|
||||
if (*i == "-webviewhelper" && std::distance(i, e) > 1) {
|
||||
Webview::WebKit2Gtk::SetSocketPath(*(i + 1));
|
||||
return Webview::WebKit2Gtk::Exec();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 546df65eb2424550ed84ce14fc9c5d1bb3586f35
|
||||
Subproject commit 1d14bb480a38b02fa93403f511076d3135d9b934
|
Loading…
Add table
Reference in a new issue