node version thingy

This commit is contained in:
Freddie
2023-07-09 02:08:31 +08:00
parent dd5b383f9c
commit 3ce2c384dd
2 changed files with 0 additions and 3 deletions

View File

@@ -7,8 +7,6 @@ regex='VERSION = '"'"'([a-z0-9.]*)'"'"''
VERSION=${BASH_REMATCH[1]}
export NODE_OPTIONS=--openssl-legacy-provider
echo "Building Version $VERSION for Linux"
echo "NPM Install"

View File

@@ -1,7 +1,6 @@
# Getting version
$VER_CODE = Select-String -Path ".\src\utils\Consts.ts" -Pattern "VERSION = '(.*)'"
$VERSION = $VER_CODE.Matches.Groups[1].Value;
$env:NODE_OPTIONS = "--openssl-legacy-provider"
Write-Output "Building Version $VERSION for Windows"