Skip to content

Commit

Permalink
改掉脑残写法
Browse files Browse the repository at this point in the history
  • Loading branch information
xfgryujk committed Jan 14, 2017
1 parent 4126e86 commit eec9d05
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions SetupEnvironment.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@

set DIRS=Win32\Debug Win32\Release x64\Debug x64\Release

for %%i in (%DIRS%) do md %%i\Plugin
for %%i in (%DIRS%) do xcopy Data %%i\Plugin /e /y
for %%i in (%DIRS%) do ^
echo [VideoDesktop] > %%i\Plugins.ini && ^
echo Enable=0 >> %%i\Plugins.ini && ^
echo [DesktopBrowser] >> %%i\Plugins.ini && ^
echo Enable=1 >> %%i\Plugins.ini && ^
echo [MaskDesktop] >> %%i\Plugins.ini && ^
echo Enable=0 >> %%i\Plugins.ini && ^
echo [WIMC] >> %%i\Plugins.ini && ^
for %%i in (%DIRS%) do (
md %%i\Plugin\Data
xcopy Data %%i\Plugin\Data /e /y
echo [VideoDesktop] > %%i\Plugins.ini
echo Enable=0 >> %%i\Plugins.ini
echo [DesktopBrowser] >> %%i\Plugins.ini
echo Enable=1 >> %%i\Plugins.ini
echo [MaskDesktop] >> %%i\Plugins.ini
echo Enable=0 >> %%i\Plugins.ini
echo [WIMC] >> %%i\Plugins.ini
echo Enable=1 >> %%i\Plugins.ini
)

pause

0 comments on commit eec9d05

Please sign in to comment.