mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Check url nullability
This commit is contained in:
parent
3e9e91d71c
commit
a3a0c59fa3
1 changed files with 3 additions and 0 deletions
|
|
@ -259,6 +259,9 @@ public static class PluginInstallationHelper
|
|||
|
||||
private static bool InstallSourceKnown(string url)
|
||||
{
|
||||
if (string.IsNullOrEmpty(url))
|
||||
return false;
|
||||
|
||||
var pieces = url.Split('/');
|
||||
|
||||
if (pieces.Length < 4)
|
||||
|
|
|
|||
Loading…
Reference in a new issue