webui-dev/deno-webui

deno compile problem

fprijate opened this issue · 3 comments

I use in my win10 project task:

`
deno compile -A --unstable main.ts"

`
and compiled main.exe works OK.
I can click on it or run it from console.
While

`
deno compile -A --unstable --no-terminal main.ts"

`
compiles to main.exe, which works when I run it from console (I can close console, and program runs anyway), while clicking on main.exe
doesn't run it (no error is reported/thrown)

Currently most deno compile flag are using for cli running so that clicking the app outside will not working. And also there is no '--no-terminal' flag in the deno documentation too, where are you getting them from ??

deno --version
deno 1.39.4 (release, x86_64-pc-windows-msvc)

deno compile --help

--no-terminal
Hide terminal on Windows

--ext
Set content type of the supplied file

[possible values: ts, tsx, js, jsx]        

Could we push this? Feeling like to use deno-webui to create some real applications..