diff --git a/build/index.js b/build/index.js index 1bf02b0..a81f496 100644 --- a/build/index.js +++ b/build/index.js @@ -10,7 +10,7 @@ exports.onCreateProject = function (api, app, config, cb) { // copy google-services.json from manifest config string `google_services_file` var googleServicesJsonFile = path.join(app_path, app.manifest.android.google_services_file); return fs.copyAsync(googleServicesJsonFile, - path.join(app_path, "build",app.manifest.shortName, "app", "google-services.json")); + path.join(config.outputPath, app.manifest.shortName, "app", "google-services.json")); } return Promise.resolve(true); } diff --git a/package.json b/package.json index fa119b5..4fb8882 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "android": "android" } }, - "dependencies": { + "dependencies": { "fs-extra": "^1.0.0" } }