Distribution fix

This commit is contained in:
unknown 2015-07-26 15:20:08 -06:00
parent e714d8ab2c
commit 33b4358696
2 changed files with 0 additions and 2 deletions

View File

@ -10,7 +10,6 @@ copy /Y src\Jackett.Service\bin\Release\JackettService.exe build\JackettService.
copy /Y src\Jackett.Service\bin\Release\JackettService.exe.config build\JackettService.exe.config
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe build\JackettTray.exe
copy /Y src\Jackett.Tray\bin\Release\JackettTray.exe.config build\JackettTray.exe.config
copy /Y src\Jackett.Distribution\bin\Release\JackettDistribution.exe distributor.exe
copy /Y LICENSE build\LICENSE
copy /Y README.md build\README.md
cd build

View File

@ -47,7 +47,6 @@ namespace Jackett.Distribution
static Version GetJackettVersion()
{
return new Version(5, 0, 1);
var assemblyVersion = AssemblyName.GetAssemblyName(Path.Combine("Build", "Jackett.dll")).Version;
return new Version(assemblyVersion.Major, assemblyVersion.Minor, assemblyVersion.Build);
}