-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run scrcpy-noconsole and, if an error occurs, inform the user. #4136
Comments
I don't know how to do that for Windows. On Linux, you can just launch Refs #1988 (comment) |
It doesn't necessarily have to be the console, but anything that lets you know that Scrcpy has spoken if an error occurs. I think the type of ".vb" file provides something that returns some kind of "errorlevel", just like batch, in case that application fails, so you say what to do if an error occurs, how to create a floating box (already I saw that the scripts in "vb" have this possibility). Changes will probably only be made to the ".vb" file. Unfortunately I am not familiar with this language. Tomorrow I will study this language (I hope I'm not too lazy :D) |
@rom1v I found what I wanted. I think it's cool that you can make it default in Scrcpy downloads <3:
Use this in the ".vbs" script file |
Is your feature request related to a problem? Please describe.
I have to wait a while to find out if the device will actually be mirrored when I run "scrcpy-noconsole.vbs" since it doesn't tell me if it gives an error or if it really will mirror.
Describe the solution you'd like
Run scrcpy initially with the console and disappear as soon as the pecking window opens, with some command line that allows the user to choose if, when an error occurs, the console closes or remains open.
Describe alternatives you've considered
Wait some time after trying to run scrcpy without console and if the mirror does not open, I thought that possibly there was an error or open normally with the console, because I hope to know if there was an error or not, but the console will be there.
Additional context
When creating a launch script with those already defined in a ".cmd" or ".bat" file (on windows) but expect only a mirroring window, without the console open/minimized while mirroring.
The text was updated successfully, but these errors were encountered: