mirror of
https://github.com/appium/appium.git
synced 2026-05-19 18:09:14 -05:00
make the change simpler, just include the file in npm
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ sample-code/
|
||||
test/
|
||||
android/bootstrap/bin/
|
||||
android/bootstrap/target/
|
||||
app/android/AndroidManifest*
|
||||
app/android/AndroidManifest.xml.apk
|
||||
_vimrc_local.vim
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
+1
-1
@@ -144,7 +144,7 @@ ADB.prototype.buildFastReset = function(skipAppSign, cb) {
|
||||
, targetAPK = me.apkPath
|
||||
, cleanAPKSrc = path.resolve(__dirname, '../app/android/Clean.apk')
|
||||
, newPackage = me.appPackage + '.clean'
|
||||
, srcManifest = path.resolve(__dirname, '../build/android_bootstrap/AndroidManifest.xml.src')
|
||||
, srcManifest = path.resolve(__dirname, '../app/android/AndroidManifest.xml.src')
|
||||
, dstManifest = srcManifest.substr(0, srcManifest.length - '.src'.length);
|
||||
|
||||
fs.writeFileSync(dstManifest, fs.readFileSync(srcManifest, "utf8"), "utf8");
|
||||
|
||||
@@ -133,8 +133,6 @@ reset_android() {
|
||||
run_cmd $grunt configAndroidBootstrap
|
||||
echo "* Building Android bootstrap"
|
||||
run_cmd $grunt buildAndroidBootstrap
|
||||
echo "* Copying manifest src"
|
||||
run_cmd cp ./app/android/AndroidManifest.xml.src ./build/android_bootstrap
|
||||
if $include_dev ; then
|
||||
reset_apidemos
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user