Browse Source

hide restart if not specified

Luke Pulverenti 9 năm trước cách đây
mục cha
commit
9fcdcc6eae
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      MediaBrowser.Server.Mono/Native/NativeApp.cs

+ 2 - 1
MediaBrowser.Server.Mono/Native/NativeApp.cs

@@ -28,7 +28,8 @@ namespace MediaBrowser.Server.Mono.Native
         {
             get
             {
-                return true;
+                // A restart script must be provided
+                return StartupOptions.ContainsOption("-restartpath");
             }
         }