fix: exclude debug only function in release mode (#387)

pull/393/head
Simon Hyll 2 years ago committed by GitHub
parent f3f92a6ff6
commit a0133cb5b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -79,6 +79,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
desktop_commands::set_icon,
desktop_commands::toggle_maximize,
desktop_commands::internal_toggle_maximize,
#[cfg(any(debug_assertions, feature = "devtools"))]
desktop_commands::internal_toggle_devtools,
]);
#[allow(clippy::needless_return)]

Loading…
Cancel
Save