Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/7991887e5e6415bf2c50b7510ef8ac82eb96fb53
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
0 additions and
24 deletions
@ -31,12 +31,6 @@ namespace NzbDrone.App.Test
[TestCase("/u", ApplicationMode.UninstallService)]
[TestCase("-U", ApplicationMode.UninstallService)]
[TestCase("-u", ApplicationMode.UninstallService)]
[TestCase("s", ApplicationMode.Silent)]
[TestCase("S", ApplicationMode.Silent)]
[TestCase("/S", ApplicationMode.Silent)]
[TestCase("/s", ApplicationMode.Silent)]
[TestCase("-S", ApplicationMode.Silent)]
[TestCase("-s", ApplicationMode.Silent)]
public void GetApplicationMode_single_arg ( string arg , ApplicationMode mode )
{
Router . GetApplicationMode ( new [ ] { arg } ) . Should ( ) . Be ( mode ) ;
@ -20,7 +20,6 @@ namespace NzbDrone.Common
Console . WriteLine ( " Commands:" ) ;
Console . WriteLine ( " /i Install the application as a Windows Service ({0})." , ServiceProvider . NZBDRONE_SERVICE_NAME ) ;
Console . WriteLine ( " /u Uninstall already installed Windows Service ({0})." , ServiceProvider . NZBDRONE_SERVICE_NAME ) ;
Console . WriteLine ( " /s Run NzbDrone without a Console Window." ) ;
Console . WriteLine ( " <No Arguments> Run application in console mode." ) ;
}
@ -81,22 +81,6 @@ namespace NzbDrone
_serviceProvider . UnInstall ( ServiceProvider . NZBDRONE_SERVICE_NAME ) ;
}
break ;
}
case ApplicationMode . Silent :
{
var startInfo = new ProcessStartInfo ( ) ;
startInfo . FileName = _environmentProvider . GetNzbDroneExe ( ) ;
startInfo . WorkingDirectory = _environmentProvider . ApplicationPath ;
startInfo . UseShellExecute = false ;
startInfo . RedirectStandardOutput = true ;
startInfo . RedirectStandardError = true ;
startInfo . CreateNoWindow = true ;
_processProvider . Start ( startInfo ) ;
Environment . Exit ( 0 ) ;
break ;
}
default :
@ -119,7 +103,6 @@ namespace NzbDrone
if ( arg = = "i" ) return ApplicationMode . InstallService ;
if ( arg = = "u" ) return ApplicationMode . UninstallService ;
if ( arg = = "s" ) return ApplicationMode . Silent ;
return ApplicationMode . Help ;
}