Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update_version.bat - github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e5cc02572e28beb6bef5fe7d8259b819f6622dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ECHO OFF
SETLOCAL
SubWCRev .\ include\Version_rev.h.in include\Version_rev.h -f
IF %ERRORLEVEL% NEQ 0 GOTO NoSubWCRev

SubWCRev .\ src\apps\mplayerc\res\mpc-hc.exe.manifest.conf src\apps\mplayerc\res\mpc-hc.exe.manifest -f
IF %ERRORLEVEL% NEQ 0 GOTO NoSubWCRev

EXIT /B

:NoSubWCRev
ECHO NoSubWCRev, will use MPC_VERSION_REV=0
ECHO #define MPC_VERSION_REV 0 >include\Version_rev.h

COPY /Y src\apps\mplayerc\res\mpc-hc.exe.manifest.template src\apps\mplayerc\res\mpc-hc.exe.manifest

EXIT /B