mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tools: deploy.bat
This commit is contained in:
parent
0081596f8d
commit
34974ac52d
@ -1,7 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set CONFIG=Debug
|
set CONFIG=Debug
|
||||||
set DRIVER=winfsp-x64.sys
|
set SUFFIX=x64
|
||||||
set TARGET_MACHINE=WIN8DBG
|
set TARGET_MACHINE=WIN8DBG
|
||||||
set TARGET_ACCOUNT=\Users\%USERNAME%\Downloads\winfsp\
|
set TARGET_ACCOUNT=\Users\%USERNAME%\Downloads\winfsp\
|
||||||
set TARGET=\\%TARGET_MACHINE%%TARGET_ACCOUNT%
|
set TARGET=\\%TARGET_MACHINE%%TARGET_ACCOUNT%
|
||||||
@ -9,6 +9,10 @@ set TARGET=\\%TARGET_MACHINE%%TARGET_ACCOUNT%
|
|||||||
echo on
|
echo on
|
||||||
cd %~dp0..
|
cd %~dp0..
|
||||||
mkdir %TARGET% 2>nul
|
mkdir %TARGET% 2>nul
|
||||||
copy build\VStudio\build\%CONFIG%\%DRIVER% %TARGET%
|
for f in (winfsp-%SUFFIX%.sys winfsp-%SUFFIX%.dll winfsp-tests-%SUFFIX%.exe mirror-%SUFFIX%.exe) do (
|
||||||
|
copy build\VStudio\build\%CONFIG%\%%f %TARGET%
|
||||||
|
)
|
||||||
echo sc create WinFsp type=filesys binPath=%%~dp0%DRIVER% >%TARGET%sc-create.bat
|
echo sc create WinFsp type=filesys binPath=%%~dp0%DRIVER% >%TARGET%sc-create.bat
|
||||||
|
echo sc start WinFsp >%TARGET%sc-start.bat
|
||||||
|
echo sc stop WinFsp >%TARGET%sc-stop.bat
|
||||||
echo sc delete WinFsp >%TARGET%sc-delete.bat
|
echo sc delete WinFsp >%TARGET%sc-delete.bat
|
||||||
|
Loading…
x
Reference in New Issue
Block a user