chore: use proper env var in binary name

This commit is contained in:
Christian Benincasa
2026-01-06 07:38:52 -05:00
parent 9c5d146405
commit 03469646c8

View File

@@ -193,7 +193,8 @@ for (const arch of args.target) {
let execName = `tunarr`;
if (args.includeVersion && !isEdgeBuild) {
execName += `-${serverPackage.version}`;
const version = process.env.TUNARR_VERSION ?? serverPackage.version;
execName += `-${version}`;
}
execName += `-${arch}`;
if (arch.startsWith('windows')) {