From 7ca95fc999f22cb0eb312e02f8c40d7589b35b7e Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 14 Aug 2024 21:42:23 -0700 Subject: feat: `deno compile --icon ` (#25039) Add `--icon` flag to set deno compile'd executable icon on Windows. ``` deno compile --icon icon.ico game.tsx ``` Depends on https://github.com/denoland/sui/pull/24 image Closes https://github.com/denoland/deno/issues/8912 --- cli/tools/compile.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/tools') diff --git a/cli/tools/compile.rs b/cli/tools/compile.rs index 6cf2ccf77..90ee0e270 100644 --- a/cli/tools/compile.rs +++ b/cli/tools/compile.rs @@ -361,6 +361,7 @@ mod test { args: Vec::new(), target: Some("x86_64-unknown-linux-gnu".to_string()), no_terminal: false, + icon: None, include: vec![], }, &std::env::current_dir().unwrap(), @@ -385,6 +386,7 @@ mod test { args: Vec::new(), target: Some("x86_64-pc-windows-msvc".to_string()), include: vec![], + icon: None, no_terminal: false, }, &std::env::current_dir().unwrap(), -- cgit v1.2.3