feat(cellular, power): enable SDM660 IPA v2.6L 4G LTE, power-key status screen, and DVFS standby
Offline project checks / check (push) Canceled after 0s
Offline project checks / check (push) Canceled after 0s
This commit is contained in:
@@ -5,11 +5,18 @@
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
RELEASE_DIR="$SCRIPT_DIR/artifacts/release-v0.8.1-bulletproof"
|
||||
RELEASE_DIR="$SCRIPT_DIR/artifacts/release-v0.8.2-cellular"
|
||||
ARCHIVE="$SCRIPT_DIR/release/platina-linux-v0.8.2-cellular-release.tar.xz"
|
||||
|
||||
if [[ ! -d "$RELEASE_DIR" ]]; then
|
||||
echo "ERROR: Release directory '$RELEASE_DIR' not found!"
|
||||
exit 1
|
||||
if [[ ! -f "$RELEASE_DIR/flash.sh" ]]; then
|
||||
if [[ -f "$ARCHIVE" ]]; then
|
||||
echo "Extracting $ARCHIVE into $RELEASE_DIR ..."
|
||||
mkdir -p "$RELEASE_DIR"
|
||||
tar -xJf "$ARCHIVE" -C "$RELEASE_DIR"
|
||||
else
|
||||
echo "ERROR: Release directory '$RELEASE_DIR' and archive '$ARCHIVE' not found!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$RELEASE_DIR/flash.sh" "$@"
|
||||
|
||||
Reference in New Issue
Block a user