This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
scrcpy
mirror of
https://github.com/Genymobile/scrcpy
Watch
1
Star
0
Fork
You've already forked scrcpy
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
codec_mismatch
scrcpy
/
app
/
data
/
scrcpy-console.bat
3 lines
51 B
Batchfile
Raw
Permalink
Normal View
History
Unescape
Escape
Pause on error from a wrapper script On Windows, scrcpy paused on error before exiting to give the user a chance to see the user message. This was a hack and causes issues when using scrcpy from batch scripts. Disable this pause from the scrcpy binary, and provide a batch wrapper (scrcpy-console.bat) to pause on error. Fixes #1875 <https://github.com/Genymobile/scrcpy/issues/1875>
2020-12-14 08:35:55 +00:00
@
echo
off
Use --pause-on-exit from launchers The terminal opened by scrcpy-console (.bat or .desktop) must not close if scrcpy terminates with an error, so that error messages can be read. Refs #3817 <https://github.com/Genymobile/scrcpy/pull/3817> Refs #3822 <https://github.com/Genymobile/scrcpy/pull/3822> PR #4130 <https://github.com/Genymobile/scrcpy/pull/4130>
2023-06-29 19:40:12 +00:00
scrcpy.exe --pause-on-exit=if-error
%*