mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
fix: exclude debug only function in release mode (#387)
This commit is contained in:
@@ -79,6 +79,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
|||||||
desktop_commands::set_icon,
|
desktop_commands::set_icon,
|
||||||
desktop_commands::toggle_maximize,
|
desktop_commands::toggle_maximize,
|
||||||
desktop_commands::internal_toggle_maximize,
|
desktop_commands::internal_toggle_maximize,
|
||||||
|
#[cfg(any(debug_assertions, feature = "devtools"))]
|
||||||
desktop_commands::internal_toggle_devtools,
|
desktop_commands::internal_toggle_devtools,
|
||||||
]);
|
]);
|
||||||
#[allow(clippy::needless_return)]
|
#[allow(clippy::needless_return)]
|
||||||
|
|||||||
Reference in New Issue
Block a user