mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +00:00
1. Support github actions on Windows Server 2022. 2. Use cygwin64 in windows-latest to build SRS. 3. Package SRS-xxx-setup.exe by NSIS.exe 4. Patch crypto/include/config.h for libsrtp. 5. Support run as administrator. 6. Apply utest for cygwin. 7. Enable srtp over openssl.
11 lines
No EOL
286 B
Batchfile
11 lines
No EOL
286 B
Batchfile
for /f "tokens=2*" %%i in ('REG QUERY "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\srs\ins_dir"') do set srs_home=%%j
|
|
|
|
echo %srs_home%
|
|
|
|
for %%I in ("%srs_home%") do set srs_disk=%%~dI
|
|
|
|
cd %srs_home%
|
|
@%srs_disk%
|
|
|
|
objs\srs.exe -c conf\console.conf
|
|
cmd |