mirror of
https://github.com/zhigang1992/react-native-wechat-1.git
synced 2026-01-12 22:51:14 +08:00
22 lines
486 B
JavaScript
22 lines
486 B
JavaScript
const path = require('path')
|
|
const file = require('./file')
|
|
|
|
const postlink = () => {
|
|
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'
|
|
)
|
|
|
|
console.log('\nLink finished, hit <Enter> to continue')
|
|
}
|
|
|
|
postlink()
|