Updated deployment script.

This commit is contained in:
LoRd_MuldeR 2014-04-16 20:18:48 +02:00
parent 0ce1fff4c6
commit 68806a2f42
5 changed files with 60 additions and 0 deletions

BIN
etc/cat.exe Normal file

Binary file not shown.

32
etc/setup/build.nfo Normal file
View File

@ -0,0 +1,32 @@
The x264 encoder software is Copyright (C) 2003-2014 x264 project.
http://www.videolan.org/developers/x264.html
The x265 encoder software is Copyright (C) 2013-2014 x265 project.
http://www.videolan.org/developers/x265.html
Avisynth is Copyright (C) 2000 Ben Rudiak-Gould & subsequent developers.
http://avisynth.nl/index.php/Main_Page
VapourSynth is Copyright (c) 2012-2014 Fredrik Mellbin.
http://www.vapoursynth.com/
All third-party binaries included in this distribution package are redistributed
in full accordance with the GNU General Public License, version 2.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
http://www.gnu.org/licenses/gpl.html

BIN
etc/zip.exe Normal file

Binary file not shown.

BIN
res/images/loading.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -139,6 +139,21 @@ if exist "%OUT_PATH%.sfx" (
set "OUT_PATH=%OUT_PATH%.new"
goto GenerateOutfileName
)
if exist "%OUT_PATH%.zip" (
set "OUT_PATH=%OUT_PATH%.new"
goto GenerateOutfileName
)
REM ///////////////////////////////////////////////////////////////////////////
REM // Create Tag
REM ///////////////////////////////////////////////////////////////////////////
echo Simple x264/x265 Launcher - graphical front-end for x264 and x265 > "%PACK_PATH%\BUILD_TAG.txt"
echo Copyright (C) 2004-2014 LoRd_MuldeR ^<MuldeR2@GMX.de^> >> "%PACK_PATH%\BUILD_TAG.txt"
echo. >> "%PACK_PATH%\BUILD_TAG.txt"
echo Build #%BUILD_NO%, created on %ISO_DATE% at %ISO_TIME% >> "%PACK_PATH%\BUILD_TAG.txt"
echo. >> "%PACK_PATH%\BUILD_TAG.txt"
echo. >> "%PACK_PATH%\BUILD_TAG.txt"
"%~dp0\etc\cat.exe" "%~dp0\etc\setup\build.nfo" >> "%PACK_PATH%\BUILD_TAG.txt"
REM ///////////////////////////////////////////////////////////////////////////
REM // Build the installer
@ -151,6 +166,19 @@ if not "%ERRORLEVEL%"=="0" goto BuildError
attrib +R "%OUT_PATH%.exe"
attrib +R "%OUT_PATH%.sfx"
REM ///////////////////////////////////////////////////////////////////////////
REM // Build ZIP package
REM ///////////////////////////////////////////////////////////////////////////
pushd "%PACK_PATH%"
"%~dp0\etc\zip.exe" -r -9 -z "%OUT_PATH%.zip" "*.*" < "%PACK_PATH%\BUILD_TAG.txt"
popd
if not "%ERRORLEVEL%"=="0" goto BuildError
REM ///////////////////////////////////////////////////////////////////////////
REM // Clean up
REM ///////////////////////////////////////////////////////////////////////////
rmdir /Q /S "%PACK_PATH%"
REM ///////////////////////////////////////////////////////////////////////////