qarmin
(Rafał Mikrut)
1
Hi,
I have a problem with opening console window on Windows when opening my app(also this is visible when running app in Wine)
How can I disable it?
App to test - https://github.com/qarmin/czkawka/releases/download/1.5.1/windows_czkawka_gui.zip
Here is my build instruction on Windows - czkawka/.github/workflows/windows.yml at 7148abb8bee061fa170f2f4feb12c7497252f609 · qarmin/czkawka · GitHub
1 Like
zbrown
(Zander Brown)
2
Somehow you need to specify the /SUBSYSTEM
linker flag so Win32 knows it’s a gui app
Edit: Aha, it was added way back in Rust 1.18, add #![windows_subsystem = "windows"]
to your main.rs
2 Likes
system
(system)
Closed
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.