diff --git a/package.json b/package.json index 86efb688287..321104d390f 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "format:check": "prettier --check .", "check-licenses": "yarn licenses list --prod | grep '\\(─ GPL\\|─ (GPL-[1-9]\\.[0-9]\\+ OR GPL-[1-9]\\.[0-9]\\+)\\)' && echo 'Found GPL license(s). Use 'yarn licenses list --prod' to look up the offending package' && exit 1 || echo 'No GPL licenses found'", "knip:depcheck": "knip --include dependencies", - "postinstall": "patch-package" + "postinstall": "patch-package && cp packages/runtime/secrets.json.template packages/runtime/secrets.json" }, "dependencies": { "@jambit/eslint-plugin-typed-redux-saga": "^0.4.0", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index ef4fe5b0f19..efd582e35e0 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -53,7 +53,6 @@ "generate-release-notes": "ts-node ./scripts/generate-release-notes.ts", "deploy:update-disclaimer": "yarn licenses generate-disclaimer --prod > src/account/LicenseDisclaimer.txt && ./scripts/copy_license_to_android_assets.sh", "//postinstall": "patch-package && yarn keys:decrypt && ./scripts/copy_license_to_android_assets.sh", - "postinstall": "cp secrets.json.template secrets.json", "keys:decrypt": "bash scripts/key_placer.sh decrypt", "keys:encrypt": "bash scripts/key_placer.sh encrypt" },