Skip to content

Commit

Permalink
Fixed platform override
Browse files Browse the repository at this point in the history
  • Loading branch information
zziger authored Oct 19, 2023
1 parent 8a3ef78 commit 222b949
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions bin/altv-pkg.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,32 +60,32 @@ async function authorizeCDN(code) {
for (let i = 0; i < args.length; i++) {
if (args[i] === 'release') {
branch = 'release';
break;
continue;
}

if (args[i] === 'rc') {
branch = 'rc';
break;
continue;
}

if (args[i] === 'dev') {
branch = 'dev';
break;
continue;
}

if (args[i].startsWith("qa")) {
branch = args[i];
break;
continue;
}

if (args[i] === "windows") {
platform = "x64_win32";
break;
continue;
}

if (args[i] === "linux") {
platform = "x64_linux";
break;
continue;
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altv-pkg",
"version": "2.3.1",
"version": "2.3.2",
"description": "Install alt:V Binaries Quickly",
"main": "bin/index.js",
"author": "stuyk",
Expand Down

0 comments on commit 222b949

Please sign in to comment.