LeOSium_webview/3_icons.sh

27 lines
900 B
Bash
Raw Permalink Normal View History

2023-11-18 11:46:19 +01:00
#!/bin/bash
cp -R icons/res_icon/ src/android_webview/nonembedded/java/
cp -R icons/res_chromium_base/ src/chrome/android/java/
cp -R icons/res/ src/chrome/android/webapk/shell_apk/res/
cp -R icons/images/ src/docs/
cp -R icons/res1/mipmap-hdpi src/tools/android/kerberos/SpnegoAuthenticator/res/
cp -R icons/res1/mipmap-mdpi src/tools/android/kerberos/SpnegoAuthenticator/res/
cp -R icons/res1/mipmap-xhdpi src/tools/android/kerberos/SpnegoAuthenticator/res/
cp -R icons/res1/mipmap-xxhdpi src/tools/android/kerberos/SpnegoAuthenticator/res/
#rm src/android_webview/nonembedded/java/res_icon/drawable-xxxhdpi/icon_webview.png
cd src/chrome/
grep -RiIl 'support.google.com' | xargs sed -i 's/support.google.com/leos-gsi.de/g'
cd ../..
cd src/android_webview/nonembedded/java
grep -RiIl 'Android System WebView' | xargs sed -i 's/Android System WebView/LeOSium WebView/g'
cd ../../../..