change targetPackage for pluginPreference intent for test-builds (fixes #544)

This commit is contained in:
Philipp Schaefer
2013-09-11 14:06:53 +02:00
parent c5a51a3647
commit d9448aac34
3 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,9 @@
# rename the app title
test -f mobile/res/values/strings.xml~ || cp mobile/res/values/strings.xml mobile/res/values/strings.xml~
test -f mobile/res/xml/preferences.xml~ || cp mobile/res/xml/preferences.xml mobile/res/xml/preferences.xml~
sed -e 's/IITC Mobile/IITCm Test/' mobile/res/values/strings.xml~ > mobile/res/values/strings.xml
sed -e 's/targetPackage="com.cradle.iitc_mobile/targetPackage="com.cradle.iitc_mobile.test/' mobile/res/xml/preferences.xml~ > mobile/res/xml/preferences.xml
# also, you'll need to build with