quick-n-dirty scripts to change the android package name/app title for test builds - used by the build scripts
This commit is contained in:
parent
f11d272835
commit
a082fd3b9d
8
mobile-test-revert
Executable file
8
mobile-test-revert
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# reverse of mobile-test-setup - reverts the changes made to AndroidManifest.xml and any resource files
|
||||
|
||||
mv mobile/AndroidManifest.xml~ mobile/AndroidManifest.xml
|
||||
|
||||
mv mobile/res/values/strings.xml~ mobile/res/values/strings.xml
|
||||
|
15
mobile-test-setup
Executable file
15
mobile-test-setup
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# quick-n-dirty script to rename the mobile build for tests
|
||||
|
||||
|
||||
# rename the package, so it can be installed alongside the regular build
|
||||
test -f mobile/AndroidManifest.xml~ || cp mobile/AndroidManifest.xml mobile/AndroidManifest.xml~
|
||||
sed -e 's/package="com.cradle.iitc_mobile"/package="com.cradle.iitc_mobile.test"/' mobile/AndroidManifest.xml~ > mobile/AndroidManifest.xml
|
||||
|
||||
|
||||
# rename the app title
|
||||
test -f mobile/res/values/strings.xml~ || cp mobile/res/values/strings.xml mobile/res/values/strings.xml~
|
||||
sed -e 's/IITC Mobile/IITCm Test/' mobile/res/values/strings.xml~ > mobile/res/values/strings.xml
|
||||
|
||||
|
@ -63,12 +63,10 @@ iitcDesktopPluginDownloadTable ( $path );
|
||||
|
||||
<h3 id="test-mobile">Mobile test build</h3>
|
||||
|
||||
<!--
|
||||
<div class="alert alert-block alert-info">
|
||||
<b>Note</b>: Test builds have recently been changed so they can be installed alongside the standard IITC builds.
|
||||
Test builds will be called "IITCm Test" - while the regular release builds remain named "IITC Mobile"
|
||||
</div>
|
||||
-->
|
||||
|
||||
<?php
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user