From e0c7b51dc77cf4790dc4744a9d1effaf2c5e2332 Mon Sep 17 00:00:00 2001 From: boatbomber Date: Fri, 30 Sep 2022 15:38:36 -0400 Subject: [PATCH] Support cloud plugins that have no folder --- plugin/src/HeadlessAPI.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/HeadlessAPI.lua b/plugin/src/HeadlessAPI.lua index 33168e5b..749b0c76 100644 --- a/plugin/src/HeadlessAPI.lua +++ b/plugin/src/HeadlessAPI.lua @@ -74,7 +74,7 @@ function API.new(app) return localPlugin end - local cloudId, cloudInstance = string.match(topLevel, "cloud_(%d-)%.(.-)%.") + local cloudId, cloudInstance = string.match(topLevel, "cloud_(%d-)%.(.-)[^%w_%-]") if cloudId then local info = cloudIdInfoCache[cloudId] if info then