aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Updates/InstallationManager.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-12-17 21:35:57 -0500
committerGitHub <noreply@github.com>2016-12-17 21:35:57 -0500
commit03acdc7cc94604260e36e74cc43799f86d11ac48 (patch)
treee1207117b4d29309150335fde201ae6771516082 /Emby.Server.Implementations/Updates/InstallationManager.cs
parent5666049e579a86b9e4871ce1984bf9d3e6ba32ef (diff)
parentc99fa9a6511dd4a0b172efa7cc60c588567c3c00 (diff)
Merge pull request #2347 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Updates/InstallationManager.cs')
-rw-r--r--Emby.Server.Implementations/Updates/InstallationManager.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs
index 52bf09284..0420900c5 100644
--- a/Emby.Server.Implementations/Updates/InstallationManager.cs
+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs
@@ -42,7 +42,8 @@ namespace Emby.Server.Implementations.Updates
/// </summary>
private ConcurrentBag<InstallationInfo> CompletedInstallationsInternal { get; set; }
- public IEnumerable<InstallationInfo> CompletedInstallations {
+ public IEnumerable<InstallationInfo> CompletedInstallations
+ {
get { return CompletedInstallationsInternal; }
}
@@ -163,8 +164,8 @@ namespace Emby.Server.Implementations.Updates
{
var data = new Dictionary<string, string>
{
- { "key", _securityManager.SupporterKey },
- { "mac", _applicationHost.SystemId },
+ { "key", _securityManager.SupporterKey },
+ { "mac", _applicationHost.SystemId },
{ "systemid", _applicationHost.SystemId }
};
@@ -656,6 +657,8 @@ namespace Emby.Server.Implementations.Updates
// Remove it the quick way for now
_applicationHost.RemovePlugin(plugin);
+ _logger.Info("Deleting plugin file {0}", plugin.AssemblyFilePath);
+
_fileSystem.DeleteFile(plugin.AssemblyFilePath);
OnPluginUninstalled(plugin);