mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Windows: Support cygwin pipline and packager. v5.0.89 (#3257)
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.
This commit is contained in:
parent
d741f81110
commit
b18ee398ed
16 changed files with 834 additions and 60 deletions
11
trunk/packaging/nsis/srs-cli.bat
Normal file
11
trunk/packaging/nsis/srs-cli.bat
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue