1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 21:00:03 -04:00

Hide console on windows for all examples in release builds (#1008)

This commit is contained in:
Emil Ernerfeldt
2021-12-30 22:43:53 +01:00
committed by GitHub
parent 4ef21380a2
commit 753d709d3d
7 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
use eframe::{egui, epi};
#[derive(Default)]

View File

@@ -1,3 +1,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
use eframe::{egui, epi};
struct MyApp {

View File

@@ -1,3 +1,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
use eframe::{egui, epi};
#[derive(Default)]