Files
react-native-wechat-1/scripts/postlink.js
dongdayu 5fc8672795 2.0 🎉
2018-05-02 19:00:53 +08:00

8 lines
350 B
JavaScript

const path = require('path')
const file = require('./file')
const projectDir = path.dirname(__filename) + '/../../../..'
file.fileReplace(projectDir + '/android/settings.gradle', ':@yyyyu/react-native-wechat', ':react-native-wechat')
file.fileReplace(projectDir + '/android/app/build.gradle', ':@yyyyu/react-native-wechat', ':react-native-wechat')