diff --git a/src/main.ts b/src/main.ts index 022db8e..99caaea 100644 --- a/src/main.ts +++ b/src/main.ts @@ -58,6 +58,13 @@ export async function main() { throw new Error("Download URL missing"); } + if (config.downloadName) { + config.downloadName = template(config.downloadName, { + ...config, + ...templateArgs, + }); + } + // fetch latest version if not fixed if (config.version === "latest") { const version = await getVersion(config);