16 lines
377 B
Shell
Executable file
16 lines
377 B
Shell
Executable file
#!/usr/bin/env bash
|
|
|
|
COMMIT="$(git rev-parse --short HEAD)"
|
|
|
|
ls *.zip && rm -rf *.zip
|
|
|
|
echo "Creating module..."
|
|
zip -r vtpay_vtapfix_$COMMIT.zip META-INF customize.sh README.md action.sh module.prop
|
|
|
|
if [ -f vtpay_vtapfix_*.zip ]; then
|
|
echo "Module saved to [vtpay_vtapfix_$COMMIT.zip], flash it"
|
|
else
|
|
echo "Something wrong!"
|
|
echo "Check if [zip] is installed or not?"
|
|
fi
|
|
|