mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
fix packaging script (#1037)
This commit is contained in:
@@ -19,10 +19,10 @@ download_and_extract() {
|
||||
|
||||
curl -L -o "dist.zip" "$repository/releases/download/$version/dist.zip"
|
||||
|
||||
[ -e "$targetDir" ] && rm -r "$targetDir"
|
||||
unzip -q dist.zip
|
||||
cp -r dist "$targetDir"
|
||||
mv dist "$targetDir"
|
||||
|
||||
rm -rf dist
|
||||
rm "dist.zip"
|
||||
popd || exit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user