Skip to content

Commit

Permalink
update patch_android_components.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
akliuxingyuan committed Dec 19, 2023
1 parent b82fe30 commit f12dece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automation/iceraven/patch_android_components.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cp -f automation/iceraven/assets/list.json android-components/components/feature
search_engines=( startpage brave )
for engine in "${search_engines[@]}"
do
sed -i "42i\ \"$engine\"," android-components/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt
sed -i "41i\ \"$engine\"," android-components/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt
done

git -C android-components apply < automation/iceraven/patches/top_sites_no_most_visted_sites.patch

0 comments on commit f12dece

Please sign in to comment.