mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-20 06:28:14 -04:00
Comment out Linux webview devtools debug code
This commit is contained in:
@@ -243,12 +243,12 @@ async fn main() -> tauri::Result<()> {
|
||||
handle.emit("deeplink", deep_link_event).unwrap();
|
||||
});
|
||||
|
||||
#[cfg(debug_assertions)] // only include this code on debug builds
|
||||
{
|
||||
let window = app.get_webview_window("main").unwrap();
|
||||
window.open_devtools();
|
||||
window.close_devtools();
|
||||
}
|
||||
// #[cfg(debug_assertions)] // only include this code on debug builds
|
||||
// {
|
||||
// let window = app.get_webview_window("main").unwrap();
|
||||
// window.open_devtools();
|
||||
// window.close_devtools();
|
||||
// }
|
||||
|
||||
block_in_place(|| {
|
||||
block_on(async move {
|
||||
|
||||
Reference in New Issue
Block a user