Skip to content

Commit

Permalink
Fix file explorer getting blocked by automation (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngo Iok Ui (Wu Yu Wei) authored Jun 23, 2021
1 parent 827eeba commit 0c5cdd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/file-linux.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
wry: patch
---

Fix file explorer getting blocked by automation.
3 changes: 1 addition & 2 deletions src/webview/web_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ pub mod unix {

let context = context_builder.build();

// default to true since other platforms don't have a way to disable it (yet)
let automation = true;
let automation = false;
context.set_automation_allowed(automation);

// e.g. wry 0.9.4
Expand Down

0 comments on commit 0c5cdd8

Please sign in to comment.