2017-03-17 13:02:49 +00:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
if "%1"=="" GOTO BADINPUT
|
|
|
|
|
|
|
|
|
|
|
|
REM Make sure to call this with a .zip file extension for the first parameter.
|
|
|
|
REM If zip.exe is not installed, get it from info-zip.org.
|
|
|
|
|
|
|
|
set name=%1
|
|
|
|
|
|
|
|
echo Deleting old file %name%
|
|
|
|
del %name%
|
|
|
|
|
|
|
|
echo Adding files to %name%
|
2017-03-22 12:43:54 +00:00
|
|
|
REM Not distributing the 10 version because it's not compatible with older Windows.
|
2017-03-22 12:56:05 +00:00
|
|
|
copy dx9sdk\8.1\Redist\D3D\x64\d3dcompiler_47.dll .
|
|
|
|
copy dx9sdk\8.1\Redist\D3D\x86\d3dcompiler_47.dll .\d3dcompiler_47.x86.dll
|
|
|
|
@echo on
|
2017-03-31 21:50:17 +00:00
|
|
|
zip --recurse-paths %name% assets PPSSPPWindows.exe PPSSPPWindows64.exe d3dcompiler_47.dll d3dcompiler_47.x86.dll README.md
|
2017-03-22 12:56:05 +00:00
|
|
|
@echo off
|
2017-03-22 12:43:54 +00:00
|
|
|
del d3dcompiler_47.dll d3dcompiler_v47.x86.dll
|
2017-03-17 13:02:49 +00:00
|
|
|
|
|
|
|
echo Done: %name%
|
|
|
|
goto DONE
|
|
|
|
|
|
|
|
:BADINPUT
|
|
|
|
echo Usage: Windows\zipup.cmd myfile.zip
|
|
|
|
|
|
|
|
:DONE
|