We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7ae58 commit 66fc6c7Copy full SHA for 66fc6c7
src-tauri/src/main.rs
@@ -117,6 +117,13 @@ fn main() {
117
app.set_activation_policy(tauri::ActivationPolicy::Accessory);
118
}
119
120
+ // In debug builds, allow window content to be visible
121
+ #[cfg(debug_assertions)]
122
+ {
123
+ let window = app.get_window("main")?;
124
+ window.set_content_protected(false)?;
125
+ }
126
+
127
Ok(())
128
})
129
.run(tauri::generate_context!())
0 commit comments