diff --git a/tools/deploy.bat b/tools/deploy.bat index d3b1f998..3bd28e6d 100755 --- a/tools/deploy.bat +++ b/tools/deploy.bat @@ -7,7 +7,9 @@ set Config=Debug set Suffix=x64 set Deploy=C:\Deploy\winfsp set Target=Win10DBG +set Chkpnt=winfsp if not X%1==X set Target=%1 +if not X%2==X set Chkpnt=%2 set Files= for %%f in (winfsp-%Suffix%.sys winfsp-%Suffix%.dll winfsp-tests-%Suffix%.exe memfs-%Suffix%.exe) do ( @@ -18,4 +20,4 @@ for %%f in (winfsp-%Suffix%.sys winfsp-%Suffix%.dll winfsp-tests-%Suffix%.exe me ) ) -powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0deploy.ps1' -Name '%Target%' -Files !Files! -Destination '%Deploy%'" +powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0deploy.ps1' -Name '%Target%' -CheckpointName '%Chkpnt%' -Files !Files! -Destination '%Deploy%'"