Support cloud plugins that have no folder

This commit is contained in:
boatbomber 2022-09-30 15:38:36 -04:00
parent e3a8152575
commit e0c7b51dc7

View file

@ -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