bump to v0.3.6
This commit is contained in:
1 parent
d7250f5635
commit
b454e6f6ee
11 files changed
+27
-24
No files matched your search
@@ -5,7 +5,7 @@ plugins {
|
|||||||
|
|
||||||
val versionMajor = 0
|
val versionMajor = 0
|
||||||
val versionMinor = 3
|
val versionMinor = 3
|
||||||
val versionPatch = 5
|
val versionPatch = 6
|
||||||
val versionBuild = System.getenv("BUILD_NUMBER")?.toIntOrNull() ?: 0
|
val versionBuild = System.getenv("BUILD_NUMBER")?.toIntOrNull() ?: 0
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+17
-14
@@ -2,9 +2,9 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Builds the standalone headless creators, joiners and vk-bot for every supported
|
# Builds the standalone headless creators, joiners and vk-bot for every supported
|
||||||
# Linux CPU architecture and packages each architecture into one zip under
|
# OS and CPU architecture and packages each target into one zip under prebuilts.
|
||||||
# prebuilts. Binaries inside a zip keep their plain names, so a user unzips and
|
# Binaries inside a zip keep their plain names, so a user unzips and runs
|
||||||
# runs ./headless-vk-creator directly.
|
# ./headless-vk-creator directly.
|
||||||
|
|
||||||
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
||||||
HEADLESS="$ROOT/headless"
|
HEADLESS="$ROOT/headless"
|
||||||
@@ -22,20 +22,21 @@ wbstream-joiner:headless-wbstream-joiner \
|
|||||||
dion-joiner:headless-dion-joiner \
|
dion-joiner:headless-dion-joiner \
|
||||||
vk-bot:headless-vk-bot"
|
vk-bot:headless-vk-bot"
|
||||||
|
|
||||||
build_arch() {
|
build_target() {
|
||||||
arch_label="$1"
|
goos="$1"
|
||||||
goarch="$2"
|
arch_label="$2"
|
||||||
stage="$PREBUILTS/stage-linux-$arch_label"
|
goarch="$3"
|
||||||
zip_path="$PREBUILTS/whitelist-bypass-cli-linux-$arch_label.zip"
|
stage="$PREBUILTS/stage-$goos-$arch_label"
|
||||||
|
zip_path="$PREBUILTS/whitelist-bypass-cli-$goos-$arch_label.zip"
|
||||||
rm -rf "$stage" "$zip_path"
|
rm -rf "$stage" "$zip_path"
|
||||||
mkdir -p "$stage"
|
mkdir -p "$stage"
|
||||||
|
|
||||||
echo "=== linux/$goarch $arch_label ==="
|
echo "=== $goos/$goarch $arch_label ==="
|
||||||
for entry in $COMPONENTS; do
|
for entry in $COMPONENTS; do
|
||||||
dir=${entry%%:*}
|
dir=${entry%%:*}
|
||||||
bin=${entry##*:}
|
bin=${entry##*:}
|
||||||
echo " $bin"
|
echo " $bin"
|
||||||
GOOS=linux GOARCH="$goarch" go -C "$HEADLESS/$dir" build -trimpath -ldflags="-s -w" -o "$stage/$bin" .
|
GOOS="$goos" GOARCH="$goarch" go -C "$HEADLESS/$dir" build -trimpath -ldflags="-s -w" -o "$stage/$bin" .
|
||||||
done
|
done
|
||||||
|
|
||||||
( cd "$stage" && zip -q -j "$zip_path" ./* )
|
( cd "$stage" && zip -q -j "$zip_path" ./* )
|
||||||
@@ -43,10 +44,12 @@ build_arch() {
|
|||||||
echo " -> $(basename "$zip_path")"
|
echo " -> $(basename "$zip_path")"
|
||||||
}
|
}
|
||||||
|
|
||||||
build_arch x64 amd64
|
build_target linux x64 amd64
|
||||||
build_arch ia32 386
|
build_target linux ia32 386
|
||||||
build_arch arm64 arm64
|
build_target linux arm64 arm64
|
||||||
|
build_target freebsd x64 amd64
|
||||||
|
build_target freebsd arm64 arm64
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "=== Done ==="
|
echo "=== Done ==="
|
||||||
ls -lh "$PREBUILTS"/whitelist-bypass-cli-linux-*.zip
|
ls -lh "$PREBUILTS"/whitelist-bypass-cli-*.zip
|
||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "whitelist-bypass-creator",
|
"name": "whitelist-bypass-creator",
|
||||||
"version": "0.3.5",
|
"version": "0.3.6",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "whitelist-bypass-creator",
|
"name": "whitelist-bypass-creator",
|
||||||
"version": "0.3.5",
|
"version": "0.3.6",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"node-fetch": "^2.7.0"
|
"node-fetch": "^2.7.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "whitelist-bypass-creator",
|
"name": "whitelist-bypass-creator",
|
||||||
"version": "0.3.5",
|
"version": "0.3.6",
|
||||||
"main": "dist/main/index.js",
|
"main": "dist/main/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
|
|||||||
@@ -305,7 +305,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 0.3.5;
|
MARKETING_VERSION = 0.3.6;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.example.whitelist-bypass-proxy";
|
PRODUCT_BUNDLE_IDENTIFIER = "com.example.whitelist-bypass-proxy";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||||
@@ -343,7 +343,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 0.3.5;
|
MARKETING_VERSION = 0.3.6;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.example.whitelist-bypass-proxy";
|
PRODUCT_BUNDLE_IDENTIFIER = "com.example.whitelist-bypass-proxy";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "whitelist-bypass-joiner",
|
"name": "whitelist-bypass-joiner",
|
||||||
"version": "0.3.5",
|
"version": "0.3.6",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "whitelist-bypass-joiner",
|
"name": "whitelist-bypass-joiner",
|
||||||
"version": "0.3.5",
|
"version": "0.3.6",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
"electron": "^33.0.0",
|
"electron": "^33.0.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "whitelist-bypass-joiner",
|
"name": "whitelist-bypass-joiner",
|
||||||
"version": "0.3.5",
|
"version": "0.3.6",
|
||||||
"main": "dist/main/index.js",
|
"main": "dist/main/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
const Version = "0.3.5"
|
const Version = "0.3.6"
|
||||||
|
|
||||||
func MaybePrintVersion() {
|
func MaybePrintVersion() {
|
||||||
for _, arg := range os.Args[1:] {
|
for _, arg := range os.Args[1:] {
|
||||||
|
|||||||
Reference in new issue
Block a user