OLD | NEW |
(Empty) | |
| 1 :: This script will build, unpack, and install the add-in onto this machine. Th
e installation requires admin privledge. |
| 2 @echo off |
| 3 setlocal |
| 4 set OUT_DIR=%~dp0..\..\out\NativeClientVSAddIn\ |
| 5 set ZIP_BASE=NativeClientVSAddIn |
| 6 |
| 7 if exist "%OUT_DIR%%ZIP_BASE%" ( |
| 8 del /q /s /f "%OUT_DIR%%ZIP_BASE%\*.*" |
| 9 rmdir /s /q "%OUT_DIR%%ZIP_BASE%" |
| 10 ) |
| 11 |
| 12 call %~dp0build.bat |
| 13 |
| 14 python.exe -c "import zipfile; zztop=zipfile.ZipFile(r'%OUT_DIR%%ZIP_BASE%.zip')
; zztop.extractall(r'%OUT_DIR%%ZIP_BASE%'); zztop.close()" |
| 15 |
| 16 :: Pass flags to bypass the install questions. Also pipe a key stroke 'return' t
o pass the 'Press any key to continue' in install.bat |
| 17 echo. | call %OUT_DIR%%ZIP_BASE%\install.bat --force --ppapi |
| 18 |
| 19 endlocal |
| 20 pause |
OLD | NEW |