From 316783ff9d32f77102c6af3918188728aa31164d Mon Sep 17 00:00:00 2001 From: Yan Li Date: Thu, 4 Sep 2025 04:15:19 +0200 Subject: [PATCH 1/2] Update fetch URL for plugins.json to master branch --- src/getPluginsJson.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/getPluginsJson.ts b/src/getPluginsJson.ts index 8b067df..6925f64 100644 --- a/src/getPluginsJson.ts +++ b/src/getPluginsJson.ts @@ -23,7 +23,7 @@ let cachedData: ExtendedPlugin[] = []; export async function getPluginsJson() { if (!cachedData?.length) { - const data: FlowPlugin[] = await fetch("https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json").then(v => v.json()); + const data: FlowPlugin[] = await fetch("https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/master/plugins.json").then(v => v.json()); const plugins = await getCollection("plugins"); cachedData = data.map(v => { From 9e3a0f6d51dbe6c6defbb314b49b2643cd7c7300 Mon Sep 17 00:00:00 2001 From: Yan Li Date: Thu, 4 Sep 2025 04:22:00 +0200 Subject: [PATCH 2/2] Fix incorrect plugins.json branch name --- src/getPluginsJson.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/getPluginsJson.ts b/src/getPluginsJson.ts index 6925f64..037b104 100644 --- a/src/getPluginsJson.ts +++ b/src/getPluginsJson.ts @@ -23,7 +23,7 @@ let cachedData: ExtendedPlugin[] = []; export async function getPluginsJson() { if (!cachedData?.length) { - const data: FlowPlugin[] = await fetch("https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/master/plugins.json").then(v => v.json()); + const data: FlowPlugin[] = await fetch("https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/main/plugins.json").then(v => v.json()); const plugins = await getCollection("plugins"); cachedData = data.map(v => {