mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed multiple things in the Update procedure
This commit is contained in:
parent
03cc3a1ad2
commit
906ecfb6a1
4 changed files with 6 additions and 5 deletions
|
@ -6,6 +6,6 @@ namespace NzbDrone.Core.Update.Commands
|
||||||
{
|
{
|
||||||
public override bool SendUpdatesToClient => true;
|
public override bool SendUpdatesToClient => true;
|
||||||
|
|
||||||
public override string CompletionMessage => "Restarting Sonarr to apply updates";
|
public override string CompletionMessage => "Restarting Radarr to apply updates";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -178,8 +178,9 @@ namespace NzbDrone.Core.Update
|
||||||
{
|
{
|
||||||
var processId = _processProvider.GetCurrentProcess().Id.ToString();
|
var processId = _processProvider.GetCurrentProcess().Id.ToString();
|
||||||
var executingApplication = _runtimeInfo.ExecutingApplication;
|
var executingApplication = _runtimeInfo.ExecutingApplication;
|
||||||
|
var args = string.Join(" ", processId, updateSandboxFolder.TrimEnd(Path.DirectorySeparatorChar).WrapInQuotes(), executingApplication.WrapInQuotes(), _startupContext.PreservedArguments);
|
||||||
return string.Join(" ", processId, updateSandboxFolder.TrimEnd(Path.DirectorySeparatorChar).WrapInQuotes(), executingApplication.WrapInQuotes(), _startupContext.PreservedArguments);
|
_logger.Info("Updater Arguments: " + args);
|
||||||
|
return args;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void EnsureAppDataSafety()
|
private void EnsureAppDataSafety()
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace NzbDrone.Core.Update
|
||||||
|
|
||||||
public List<UpdatePackage> GetRecentUpdatePackages()
|
public List<UpdatePackage> GetRecentUpdatePackages()
|
||||||
{
|
{
|
||||||
var branch = _configFileProvider.Branch;
|
var branch = "develop";//_configFileProvider.Branch;
|
||||||
return _updatePackageProvider.GetRecentUpdates(branch, BuildInfo.Version);
|
return _updatePackageProvider.GetRecentUpdates(branch, BuildInfo.Version);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ namespace NzbDrone.Update
|
||||||
{
|
{
|
||||||
var assemblies = new List<string>
|
var assemblies = new List<string>
|
||||||
{
|
{
|
||||||
"NzbDrone.Update",
|
"Radarr.Update",
|
||||||
"NzbDrone.Common"
|
"NzbDrone.Common"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue