mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-24 22:09:14 +00:00
debug(windows): opt-in devtools for the dock window via CODEBURN_DOCK_DEVTOOLS
This commit is contained in:
parent
db4f282209
commit
c535a97873
1 changed files with 6 additions and 1 deletions
|
|
@ -105,7 +105,12 @@ pub fn show(app: &AppHandle) -> tauri::Result<()> {
|
|||
apply_layout(&window, 1, false);
|
||||
window.show()?;
|
||||
#[cfg(debug_assertions)]
|
||||
eprintln!("codeburn dock: window created and shown");
|
||||
{
|
||||
eprintln!("codeburn dock: window created and shown");
|
||||
if std::env::var_os("CODEBURN_DOCK_DEVTOOLS").is_some() {
|
||||
window.open_devtools();
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue