From 727249692b3a9af8d41cad9a2dd94162bb722fb8 Mon Sep 17 00:00:00 2001 From: JIe Date: Wed, 11 Dec 2024 14:30:30 +0800 Subject: [PATCH] =?UTF-8?q?gui=E5=90=AF=E5=8A=A8=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E6=8E=A7=E5=88=B6=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 4 ++-- src/main.rs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f6dbed4..4066a84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,5 +16,5 @@ crossbeam = "0.8" [package.metadata.windows] -link-args=["/SUBSYSTEM:WINDOWS"] -subsystem="windows" \ No newline at end of file +link-args = ["/SUBSYSTEM:windows", "/ENTRY:mainCRTStartup"] +subsystem = "windows" \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 805bb80..9894a51 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![windows_subsystem = "windows"] + mod download_wrapper; mod mes_service;