diff --git a/package.bat b/package.bat index e381e0e..6a39992 100644 --- a/package.bat +++ b/package.bat @@ -1,14 +1,15 @@ @echo off setlocal -call :package x64 -call :package Win32 -pause +call :package %1 +rem call :package x64 +rem call :package Win32 +rem pause goto :eof :package set PLATFORM=%1 set ZIPFILE=%CD%\RadLine%PLATFORM%.zip -del %ZIPFILE% +if exist %ZIPFILE% del %ZIPFILE% 7z a %ZIPFILE% Bin\%PLATFORM%Release\RadLine.dll Bin\%PLATFORM%Release\RLoadDll.exe Lua\Bin%PLATFORM%\Lua.dll RadLine.lua UserRadLine.lua 7z rn %ZIPFILE% Bin\%PLATFORM%Release\RadLine.dll RadLine.dll Bin\%PLATFORM%Release\RLoadDll.exe RLoadDll.exe Lua\Bin%PLATFORM%\Lua.dll Lua.dll goto :eof