diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-17 03:27:41 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-17 03:27:41 -0500 |
| commit | cc73830cd6df7049281df6e43615096a5b47ccb4 (patch) | |
| tree | bd4d73aba57aa89fcb91c37a35768aa2b6d316f5 /MediaBrowser.ServerApplication/Updates | |
| parent | ef490818d7246aec127bfb7722c23c2103f4bf5f (diff) | |
fix music album image inheritance
Diffstat (limited to 'MediaBrowser.ServerApplication/Updates')
| -rw-r--r-- | MediaBrowser.ServerApplication/Updates/ApplicationUpdater.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/Updates/ApplicationUpdater.cs b/MediaBrowser.ServerApplication/Updates/ApplicationUpdater.cs index 97537b27d..aa8679bd5 100644 --- a/MediaBrowser.ServerApplication/Updates/ApplicationUpdater.cs +++ b/MediaBrowser.ServerApplication/Updates/ApplicationUpdater.cs @@ -47,7 +47,17 @@ namespace MediaBrowser.ServerApplication.Updates product, archive, Process.GetCurrentProcess().Id, version, restartServiceName ?? string.Empty, appPaths.ProgramDataPath, MainStartup.ApplicationPath, systemPath); logger.Info("Args: {0}", args); - Process.Start(tempUpdater, args); + + Process.Start(new ProcessStartInfo + { + FileName = tempUpdater, + Arguments = args, + UseShellExecute = false, + CreateNoWindow = true, + ErrorDialog = false, + WindowStyle = ProcessWindowStyle.Hidden, + WorkingDirectory = Path.GetDirectoryName(tempUpdater) + }); // That's it. The installer will do the work once we exit } |
