scrcpy-noconsole.exe shows a console after upgrading to 1.10

Can confirm.

Idem

Invocation: C:\programming\scrcpy-win64-v1.10scrcpy-noconsole.exe -Tts 123456789
Indeed.
Even if I rebuild v1.9 with my current mingw, the "no console" flag (-mwindow) does not work.
It's probably a bug in mingw.
From IRC:
mingw-w64 does require you to use WinMain for -mwindows to work
I'll test that later.
https://stackoverflow.com/questions/13871617/winmain-and-main-in-c-extended
one more to confirme the bug
Yeah I faced it too
This is happening for me as well
If someone wants to work on it, the solution is probably to use WinMain() instead of main() (https://github.com/Genymobile/scrcpy/issues/691#issuecomment-519308360) in a #ifdef WINDOWS_NOCONSOLE block.
Same for me
Same; I thought I was going crazy with my shortcut adjustment!
Me too, but at least it shows the bugdroid as the console icon :)
I found a workaround: 18f2e33a8bf967a813142dbe9556813032ec9f0b
I backported it on v1.10 so that you can test:
scrcpy-noconsole _SHA256: f7722aa6c5a56fb215cea02395376863de83cc51b16be9e6b784a7923fbc611f_
Using it along with https://github.com/Genymobile/scrcpy/issues/650#issuecomment-550530774 and no issues so far, the console never pops.
Spoke too soon, this binary doesn't implement the text fix, unsurprisingly. However no issues found with the server, if any should be expected.
Fixed in v1.11.
Most helpful comment
I found a workaround: 18f2e33a8bf967a813142dbe9556813032ec9f0b
I backported it on v1.10 so that you can test:
scrcpy-noconsole_SHA256: f7722aa6c5a56fb215cea02395376863de83cc51b16be9e6b784a7923fbc611f_