-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # .github/workflows/docker.yaml # .github/workflows/prerelease.yml
- Loading branch information
Showing
152 changed files
with
7,591 additions
and
1,221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
FILENAMES=$(ls) | ||
for FILENAME in $FILENAMES | ||
do | ||
if [[ ! ($FILENAME =~ ".exe" || $FILENAME =~ ".sh")]];then | ||
gzip -S ".gz" $FILENAME | ||
elif [[ $FILENAME =~ ".exe" ]];then | ||
zip -m ${FILENAME%.*}.zip $FILENAME | ||
else echo "skip $FILENAME" | ||
fi | ||
done | ||
|
||
FILENAMES=$(ls) | ||
for FILENAME in $FILENAMES | ||
do | ||
if [[ $FILENAME =~ ".zip" ]];then | ||
echo "rename $FILENAME" | ||
mv $FILENAME ${FILENAME%.*}-${VERSION}.zip | ||
elif [[ $FILENAME =~ ".gz" ]];then | ||
echo "rename $FILENAME" | ||
mv $FILENAME ${FILENAME%.*}-${VERSION}.gz | ||
else | ||
echo "skip $FILENAME" | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
FILENAMES=$(ls) | ||
for FILENAME in $FILENAMES | ||
do | ||
if [[ $FILENAME =~ "darwin-10.16-arm64" ]];then | ||
echo "rename darwin-10.16-arm64 $FILENAME" | ||
mv $FILENAME clash.meta-darwin-arm64-cgo | ||
elif [[ $FILENAME =~ "darwin-10.16-amd64" ]];then | ||
echo "rename darwin-10.16-amd64 $FILENAME" | ||
mv $FILENAME clash.meta-darwin-amd64-cgo | ||
elif [[ $FILENAME =~ "windows-4.0-386" ]];then | ||
echo "rename windows 386 $FILENAME" | ||
mv $FILENAME clash.meta-windows-386-cgo.exe | ||
elif [[ $FILENAME =~ "windows-4.0-amd64" ]];then | ||
echo "rename windows amd64 $FILENAME" | ||
mv $FILENAME clash.meta-windows-amd64-cgo.exe | ||
elif [[ $FILENAME =~ "linux" ]];then | ||
echo "rename linux $FILENAME" | ||
mv $FILENAME $FILENAME-cgo | ||
elif [[ $FILENAME =~ "android" ]];then | ||
echo "rename android $FILENAME" | ||
mv $FILENAME $FILENAME-cgo | ||
else echo "skip $FILENAME" | ||
fi | ||
done |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.