sciter-sdk / rust-sciter

Rust bindings for Sciter
https://sciter.com
MIT License
804 stars 76 forks source link

TWO windows appear #21

Closed hasanOryx closed 6 years ago

hasanOryx commented 6 years ago

I tried loading the minimal.html, it is loading fine at cargo run, but once I runn the .exe alone, 2 windows appear, one empty as cmd and one shows the real output as shown in this pic.

I'm using Windows 10

image

pravic commented 6 years ago

Read this: minimal.rs.

If you use Rust 1.18 or higher, put this line in your app: #![windows_subsystem="windows"]. It will make a windows application without console window.

hasanOryx commented 6 years ago

Thanks @pravic