Expose sc_get_env() to read environment variable
Contrary to getenv(), sc_get_env() returns an allocated string that is guaranteed to be encoded in UTF-8 on all platforms (it uses _wgetenv() internally on Windows and converts the strings). PR #5560 <https://github.com/Genymobile/scrcpy/pull/5560>
R
Romain Vimont committed
131372d2c4b430b01b137e2a0debb21a33963bba
Parent: 0fd7534