mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
update program queries
This commit is contained in:
@@ -204,16 +204,6 @@ namespace MediaBrowser.ServerApplication.Native
|
||||
LoopUtil.Run(appName);
|
||||
}
|
||||
|
||||
private bool Confirm()
|
||||
{
|
||||
if (MainStartup._splash == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return MessageBox.Show(MainStartup._splash, "Emby has detected that a rule has been added to Windows Firewall that may prevent your other devices from accessing Emby Server. Click OK to remove this rule, or cancel to proceed anyway.", "Windows Firewall", MessageBoxButtons.OKCancel) == DialogResult.OK;
|
||||
}
|
||||
|
||||
public bool PortsRequireAuthorization(string applicationPath)
|
||||
{
|
||||
var appNameSrch = Path.GetFileName(applicationPath);
|
||||
@@ -242,7 +232,6 @@ namespace MediaBrowser.ServerApplication.Native
|
||||
if (data.IndexOf("Block", StringComparison.OrdinalIgnoreCase) != -1)
|
||||
{
|
||||
_logger.Info("Found potential windows firewall rule blocking Emby Server: " + data);
|
||||
return Confirm();
|
||||
}
|
||||
|
||||
//var parts = data.Split('\n');
|
||||
|
||||
Reference in New Issue
Block a user