Skip to content

Instantly share code, notes, and snippets.

@fidacura
Created August 16, 2020 12:26
Show Gist options
  • Select an option

  • Save fidacura/e1138e7337af992fe9f53224dc430d50 to your computer and use it in GitHub Desktop.

Select an option

Save fidacura/e1138e7337af992fe9f53224dc430d50 to your computer and use it in GitHub Desktop.
name = "assetfinder"
type = "ext"
function vertical(ctx, domain)
print("in asset finder")
local cmd = outputdir(ctx) .. "assetfinder --subs-only " .. domain
local data = assert(io.popen(cmd))
for line in data:lines() do
newname(ctx, line)
end
data:close()
end
@adityathebe
Copy link

local cmd = outputdir(ctx) .. "assetfinder --subs-only " .. domain

Shouldn't you just have

local cmd = "assetfinder --subs-only " .. domain

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment