Update install script.

This commit is contained in:
Hevin 2016-06-17 17:44:42 +08:00
parent 280846779d
commit 1c96487869
2 changed files with 0 additions and 5 deletions

View File

@ -53,9 +53,7 @@
<!-- android -->
<platform name="android">
<hook type="after_plugin_add" src="scripts/android-install.js" />
<hook type="after_plugin_install" src="scripts/android-install.js" />
<hook type="before_plugin_rm" src="scripts/android-install.js" />
<hook type="before_plugin_uninstall" src="scripts/android-install.js" />
<config-file target="res/xml/config.xml" parent="/*">

View File

@ -9,9 +9,6 @@ module.exports = function (context) {
config = new ConfigParser(path.join(context.opts.projectRoot, "config.xml")),
packageName = config.android_packageName() || config.packageName();
console.info("Running android-install.Hook: " + context.hook
+ ", Package: " + packageName + ", Path: " + projectRoot + ".");
if (!packageName) {
console.error("Package name could not be found!");
return ;