windows: Prevent command line from opening in release mode (#9839)
Release Notes: - Prevents the terminal from opening on release mode on Windows Note: this also prevents Zed from logging to the terminal when it is launched from the terminal. Is this expected behaviour on other platforms? --------- Co-authored-by: 白山風露 <shirayama.kazatsuyu@gmail.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
// Allow binary to be called Zed for a nice application menu when running executable directly
|
||||
#![allow(non_snake_case)]
|
||||
// Disable command line from opening on release mode
|
||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
mod zed;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user