chore: Include language packs when building the installation package

pull/7317/head
wanghe-fit2cloud 2024-12-10 17:50:49 +08:00
parent 4635047004
commit 06cc7fcc02
2 changed files with 7 additions and 1 deletions

View File

@ -42,7 +42,7 @@ archives:
- install.sh
- README.md
- LICENSE
- GeoIP.mmdb
- lang/*
checksum:
name_template: 'checksums.txt'

View File

@ -21,4 +21,10 @@ if [ ! -f "GeoIP.mmdb" ]; then
wget https://resource.1panel.hk/geo/GeoIP.mmdb
fi
if [ ! -f "lang.tar.gz" ]; then
wget https://resource.1panel.hk/language/lang.tar.gz
tar zxvf lang.tar.gz
rm -rf lang.tar.gz
fi
chmod 755 1pctl install.sh