mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-11-22 00:11:17 +01:00
fix: exclude debug only function in release mode (#387)
This commit is contained in:
1 parent
f3f92a6ff6
commit
a0133cb5b3
1 file changed
+1
@@ -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)]
|
||||
|
||||
Reference in new issue
Block a user