mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
17 lines
572 B
Batchfile
17 lines
572 B
Batchfile
@echo off
|
|
|
|
set SUBWC="c:\program files\tortoisesvn\bin\subwcrev.exe"
|
|
if not exist %SUBWC% goto NOSUBWC
|
|
|
|
echo Fixing version info...
|
|
%SUBWC% %0\..\.. %0\..\config.h.templ %0\..\config.h
|
|
%SUBWC% %0\..\.. %0\..\FireflyConfig\AssemblyInfo.cs.templ %0\..\FireflyConfig\AssemblyInfo.cs
|
|
%SUBWC% %0\..\.. %0\..\nsi\mt-daapd.nsi.templ %0\..\nsi\mt-daapd.nsi
|
|
goto END
|
|
|
|
:NOSUBWC
|
|
copy %0\..\config.h.templ %0\..\config.h
|
|
copy %0\..\FireflyConfig\AssemblyInfo.cs.templ %0\..\FireflyConfig\AssemblyInfo.cs
|
|
copy %0\..\nsi\mt-daapd.nsi.templ %0\..\nsi\mt-daapd.nsi
|
|
:END
|