Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
ci: 清理奇怪的變數宣告
Browse files Browse the repository at this point in the history
  • Loading branch information
xMikux committed Oct 17, 2022
1 parent fbd36d4 commit 873ee7a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/scripts/override_mods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ mega_override () {

echo "覆蓋 $1..."

echo "設置 $2 路徑變數"
PATH_MEGA=$3
echo "設置 $1 路徑變數"
PATH_MEGA=$2

echo "下載 $1..."
megadl "$4"
megadl "$3"

echo "解壓縮 $5"
unzip -q "$5"
echo "解壓縮 $4"
unzip -q "$4"

echo "回到工作目錄..."
cd ..
Expand Down Expand Up @@ -237,7 +237,7 @@ home
## Mega

### BloodMagic
mega_override "BloodMagic" "BLOODMAGIC" "assets/bloodmagic" "https://mega.nz/#!KR0CQC5Z!MkEdb3M5q9FHLIgY7WLE18T8EqKFMVUd1guryQWdTQc" "1.18 BloodMagic-zh_tw-v2.zip"
mega_override "BloodMagic" "assets/bloodmagic" "https://mega.nz/#!KR0CQC5Z!MkEdb3M5q9FHLIgY7WLE18T8EqKFMVUd1guryQWdTQc" "1.18 BloodMagic-zh_tw-v2.zip"
echo "修正 BloodMagic 的全形空格"
sed -i 's/ //1' assets/bloodmagic/patchouli_books/guide/zh_tw/entries/altar/soul_network.json

Expand Down

0 comments on commit 873ee7a

Please sign in to comment.