Conditionally use Windows subsystem when debugging is off

This commit is contained in:
James 2018-08-04 01:12:03 +10:00
parent 88ac38defb
commit 800fa1ac22

View file

@ -3,7 +3,7 @@
//! The main entrypoint for the application. Orchestrates the building of the installation
//! framework, and opens necessary HTTP servers/frontends.
//#![windows_subsystem = "windows"]
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#[cfg(windows)]
extern crate nfd;