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

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksoid <aleksoid@users.sourceforge.net>2010-04-20 04:15:22 +0400
committerAleksoid <aleksoid@users.sourceforge.net>2010-04-20 04:15:22 +0400
commit2f6c33a1c2ca03c46c7a7e744a5aa4a0d333ae39 (patch)
tree8057d1c35639fd52136e77c618c57cd5f043243c /update_version.bat
parentcad48a541ba8ef89fdb603dafb4801aa0a0f4ebf (diff)
Update .manifest file and set auto-version from SVN;
Update for VS 2010 compatible; git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1799 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'update_version.bat')
-rw-r--r--update_version.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/update_version.bat b/update_version.bat
index ad5d4d172..e91408446 100644
--- a/update_version.bat
+++ b/update_version.bat
@@ -1,6 +1,7 @@
@if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto :x64
@"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" .\ include\SubWCRev.conf include\version.h
+@"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" .\ src\apps\mplayerc\res\mpc-hc.exe.manifest.conf src\apps\mplayerc\res\mpc-hc.exe.manifest
@if %ERRORLEVEL%==6 goto :NoSubWCRev
@if %ERRORLEVEL%==10 goto :NoSubWCRev
@goto :eof
@@ -9,6 +10,7 @@
@if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto :NoSubWCRev
@"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" .\ include\SubWCRev.conf include\version.h
+@"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" .\ src\apps\mplayerc\res\mpc-hc.exe.manifest.conf src\apps\mplayerc\res\mpc-hc.exe.manifest
@if %ERRORLEVEL%==6 goto :NoSubWCRev
@if %ERRORLEVEL%==10 goto :NoSubWCRev
@goto :eof
@@ -25,3 +27,5 @@ echo. >> include\Version.h
@echo #define VERSION_MINOR 3 >> include\version.h
@echo #define VERSION_REV 0 >> include\version.h
@echo #define VERSION_PATCH 0 >> include\version.h
+
+@copy src\apps\mplayerc\res\mpc-hc.exe.manifest.template src\apps\mplayerc\res\mpc-hc.exe.manifest \ No newline at end of file