1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-26 01:38:07 +00:00
NetGuard/tools/strings.sh

20 lines
1.2 KiB
Bash
Raw Normal View History

#!/bin/bash
2015-12-30 08:00:34 +00:00
grep -RIl "\<string name=\"title_donate" app/src/main/res | xargs sed -i -e '/title_donate/d'
grep -RIl "\<string name=\"msg_voluntary" app/src/main/res | xargs sed -i -e '/msg_voluntary/d'
grep -RIl "\<string name=\"title_thanks" app/src/main/res | xargs sed -i -e '/title_thanks/d'
2015-12-01 07:35:13 +00:00
#grep -RIl "\<string name=\"setting_import" app/src/main/res | xargs sed -i -e '/setting_import/a\
#\ \ <string name="setting_backup">Backup</string>'
#grep -RIl "\<string name=\"setting_import" app/src/main/res | xargs sed -i -e '/setting_import/a\
#\ \ <string name="setting_options">Options</string>'
#grep -RIl "\<string name=\"setting_import" app/src/main/res | xargs sed -i -e '/setting_import/a\
#\ \ <string name="setting_defaults">Defaults</string>'
2015-12-30 08:00:34 +00:00
#grep -RIl "\<string name=\"summary_national_roaming" app/src/main/res | xargs sed -i -e '/summary_national_roaming/d'
#grep -RIl "\<string name=\"summary_metered" app/src/main/res | xargs sed -i -e '/summary_metered/a\
#\ \ <string name="summary_national_roaming">Do not apply the roaming rules when the SIM and mobile network country are the same</string>'
2015-11-21 08:48:33 +00:00
2015-11-29 08:01:24 +00:00
#grep -RIl "\<string name=\"setting_screen_wifi" app/src/main/res | xargs sed -i -e 's/xxx/yyy/g'