Skip to content

Commit

Permalink
remove top-level SDK dir from zip and bump SDK to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Oct 1, 2018
1 parent 3c2c4c2 commit 9b51207
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build_sdk.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set SDKFILENAME=npcap-sdk-0.1.zip
set SDKFILENAME=npcap-sdk-1.0.zip

if "%2"== "" ( rd /s/q ./npcap-sdk 2>nul >nul) else ( rd /s /q "%2" 2>nul >nul)

Expand All @@ -14,6 +14,7 @@ rem Requires xsltproc and Docbook XSL stylesheets
call create_docs.bat %1 %2

del %SDKFILENAME%
"C:\Program Files\7-Zip\7z.exe" a %SDKFILENAME% .\npcap-sdk
cd .\npcap-sdk
"C:\Program Files\7-Zip\7z.exe" a ..\%SDKFILENAME% .
PAUSE

0 comments on commit 9b51207

Please sign in to comment.