mirror of https://github.com/Jackett/Jackett
Distribution fix
This commit is contained in:
parent
e714d8ab2c
commit
33b4358696
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue