mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
fix packaging script (#1037)
This commit is contained in:
1 parent
8080fad11d
commit
ed533e52d9
1 file changed
+2
-2
@@ -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