mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Handle alert/confirm/prompt with custom dialog on Linux.
This commit is contained in:
parent
043ba4ff04
commit
b28d5a63d1
2 changed files with 4 additions and 3 deletions
|
@ -52,8 +52,9 @@ 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) > 1) {
|
||||
Webview::WebKit2Gtk::SetSocketPath(*(i + 1));
|
||||
if (*i == "-webviewhelper" && std::distance(i, e) > 2) {
|
||||
Webview::WebKit2Gtk::SetDebug(*(i + 1));
|
||||
Webview::WebKit2Gtk::SetSocketPath(*(i + 2));
|
||||
return Webview::WebKit2Gtk::Exec();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 318ab62e091196fbc679586450803a22093e0027
|
||||
Subproject commit 9083cb0f16a8a74bcedf2a76b9ddccd773b7b630
|
Loading…
Add table
Reference in a new issue