mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: unarchive
This commit is contained in:
1 parent
029a781c50
commit
b72d4058be
2 files changed
+35
No files matched your search
@@ -73,6 +73,11 @@ jobs:
|
|||||||
remove-codeql: "true"
|
remove-codeql: "true"
|
||||||
remove-docker-images: "true"
|
remove-docker-images: "true"
|
||||||
|
|
||||||
|
- if: github.event.inputs.archive_url != '' && endsWith(github.event.inputs.archive_url, '.wgpkg')
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y p7zip-full
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
if: github.event.inputs.archive_url == ''
|
if: github.event.inputs.archive_url == ''
|
||||||
with:
|
with:
|
||||||
@@ -115,6 +120,32 @@ jobs:
|
|||||||
mkdir -p temp/game
|
mkdir -p temp/game
|
||||||
mv temp/archive/app/* temp/game
|
mv temp/archive/app/* temp/game
|
||||||
|
|
||||||
|
- name: (WGPKG) Download client
|
||||||
|
if: github.event.inputs.archive_url != '' && endsWith(github.event.inputs.archive_url, '.wgpkg')
|
||||||
|
env:
|
||||||
|
ARCHIVE_URL: ${{ github.event.inputs.archive_url }}
|
||||||
|
run: |
|
||||||
|
mkdir -p temp/archives
|
||||||
|
|
||||||
|
i = 1
|
||||||
|
while :; do
|
||||||
|
part = $(printf "%03d" $i)
|
||||||
|
url = "${ARCHIVE_URL}.${part}"
|
||||||
|
|
||||||
|
echo "Downloading $url"
|
||||||
|
|
||||||
|
if wget -q -O "temp/archives/part.${part}" "$url"; then
|
||||||
|
((i++))
|
||||||
|
else
|
||||||
|
echo "Last part: $part"
|
||||||
|
rm -f "temp/archives/part.${part}"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
7z x temp/archives/part.001 -otemp/game
|
||||||
|
rm -rf temp/archives
|
||||||
|
|
||||||
- name: Archive game
|
- name: Archive game
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Vendored
+4
@@ -77,6 +77,7 @@
|
|||||||
"DVPLCRC",
|
"DVPLCRC",
|
||||||
"dvpm",
|
"dvpm",
|
||||||
"dxgi",
|
"dxgi",
|
||||||
|
"easimon",
|
||||||
"echarts",
|
"echarts",
|
||||||
"Everytime",
|
"Everytime",
|
||||||
"FASTNAME",
|
"FASTNAME",
|
||||||
@@ -142,6 +143,7 @@
|
|||||||
"Oopsy",
|
"Oopsy",
|
||||||
"opentest",
|
"opentest",
|
||||||
"OPTML",
|
"OPTML",
|
||||||
|
"otemp",
|
||||||
"outdir",
|
"outdir",
|
||||||
"outfile",
|
"outfile",
|
||||||
"ownedtanks",
|
"ownedtanks",
|
||||||
@@ -213,12 +215,14 @@
|
|||||||
"Unregistering",
|
"Unregistering",
|
||||||
"unrotate",
|
"unrotate",
|
||||||
"unwrapper",
|
"unwrapper",
|
||||||
|
"userns",
|
||||||
"vercel",
|
"vercel",
|
||||||
"vickers",
|
"vickers",
|
||||||
"vitepress",
|
"vitepress",
|
||||||
"Vovko",
|
"Vovko",
|
||||||
"wargaming",
|
"wargaming",
|
||||||
"webp",
|
"webp",
|
||||||
|
"wgpkg",
|
||||||
"whitespaces",
|
"whitespaces",
|
||||||
"WHSS",
|
"WHSS",
|
||||||
"winrate",
|
"winrate",
|
||||||
|
|||||||
Reference in new issue
Block a user