LeOS-Ice-browser/automation/iceraven/patch_android_components.sh

13 lines
674 B
Bash
Raw Normal View History

2023-11-28 09:06:47 +01:00
#!/usr/bin/env bash
cp automation/iceraven/assets/*.xml android-components/components/feature/search/src/main/assets/searchplugins
cp -f automation/iceraven/assets/list.json android-components/components/feature/search/src/main/assets/search
search_engines=( startpage brave )
for engine in "${search_engines[@]}"
do
2023-12-24 13:38:45 +01:00
sed -i "41i\ \"$engine\"," android-components/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt
2023-11-28 09:06:47 +01:00
done
2023-12-24 13:38:45 +01:00
git -C android-components apply < automation/iceraven/patches/top_sites_no_most_visted_sites.patch
2024-01-30 15:56:09 +01:00
git -C android-components apply < automation/iceraven/patches/suggestions_increase_number.patch