From a3a0c59fa3e2c3372a7c08f51d522a4a6e49149e Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Sun, 29 Jun 2025 16:29:45 +0800 Subject: [PATCH] Check url nullability --- Flow.Launcher/Helper/PluginInstallationHelper.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Flow.Launcher/Helper/PluginInstallationHelper.cs b/Flow.Launcher/Helper/PluginInstallationHelper.cs index 0d3d2df67..0e94566b8 100644 --- a/Flow.Launcher/Helper/PluginInstallationHelper.cs +++ b/Flow.Launcher/Helper/PluginInstallationHelper.cs @@ -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)