Premier commit

Cette révision appartient à :
Théo Gastinel a révisé 2026-10-11 01:55:32 +02:00
révision 0f79f0e2e4
32 fichiers modifiés
+7043

Aucun fichier ne correspond à votre recherche

+17
Voir le fichier
@@ -0,0 +1,17 @@
// Prevents additional console window on Windows in release
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
let args: Vec<String> = std::env::args().collect();
if args.len() > 1 {
#[cfg(windows)]
unsafe {
use windows_sys::Win32::System::Console::{AttachConsole, ATTACH_PARENT_PROCESS};
AttachConsole(ATTACH_PARENT_PROCESS);
}
let code = verif_etat_lib::cli::CliRunner::run(&args);
std::process::exit(code);
} else {
verif_etat_lib::run();
}
}