Skip to content

Commit

Permalink
driver packager: start over support
Browse files Browse the repository at this point in the history
  • Loading branch information
pal1000 committed Jan 9, 2025
1 parent 3cb5a44 commit 08a3839
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions driver-release.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
:begin
@set fatal_error=0
@set exclude=-x^!.git -x^!RTKUWP -x^!VCLibs_UWP_Preview -x^!.gitattributes -x^!.gitignore -x^!"%~nx0"
@CD /d "%~dp0"
Expand Down Expand Up @@ -75,11 +76,16 @@

@IF %fatal_error% EQU 1 GOTO finish

@setlocal
@set /p drvver=Enter driver version:
@echo.
@echo Starting driver release maker...
@%sevenzip% a ..\Unofficial-Realtek-UAD-generic-%drvver%.7z "%~dp0" -r %exclude% -m0=LZMA2 -mmt=on -mx=9
@echo.
@set /p startover=Start over (y/n):
@echo.
@IF /I "%startover%"=="y" cls
@IF /I "%startover%"=="y" GOTO begin

:finish
@pause

0 comments on commit 08a3839

Please sign in to comment.