mirror of
https://github.com/chrisbenincasa/tunarr.git
synced 2026-04-18 09:03:35 -04:00
chore: use proper env var in binary name
This commit is contained in:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user