Skip to content

Commit

Permalink
Version 10 advanced settings by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tzagim authored Aug 13, 2024
1 parent 3fdf488 commit 2f1ab65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ echo ' "*.build.id": "'$ID'",';
echo ' "*.security_patch": "'$SECURITY_PATCH'",';
[ -z "$VNDK_VERSION" ] || echo ' "*.vndk.version": "'$VNDK_VERSION'",';
echo ' "*api_level": "'$DEVICE_INITIAL_SDK_INT'",';
if [ "$ADVANCED" ]; then
echo "$N // Advanced Settings";
for SETTING in $ADVSETTINGS; do
eval echo '\ \ \ \ \"$SETTING\": \"'\$$SETTING'\",';
done;
fi) | sed '$s/,/\n}/' > "$OUT";

## Enable advanced settings by default
echo "$N // Advanced Settings";
for SETTING in $ADVSETTINGS; do
eval echo '\ \ \ \ \"$SETTING\": \"'\$$SETTING'\",';
done;) | sed '$s/,/\n}/' > "$OUT";

[ "$INSTALL" ] || cat "$OUT";
2 changes: 1 addition & 1 deletion pif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ create_json() {
"MODEL": "$(get_value MODEL)",
"FINGERPRINT": "$(get_value FINGERPRINT)",
"SECURITY_PATCH": "$(get_value SECURITY_PATCH)",
"FIRST_API_LEVEL": "$(get_value FIRST_API_LEVEL)"
"DEVICE_INITIAL_SDK_INT": "$(get_value FIRST_API_LEVEL)"
}
EOF
}
Expand Down

0 comments on commit 2f1ab65

Please sign in to comment.