12345678910111213141516171819202122 |
- const path = require('path')
- const file = require('./file')
-
- const postlink = () => {
- const projectDir = path.dirname(__filename) + '/../../../..'
-
- file.fileReplace(
- projectDir + '/android/settings.gradle',
- ':@yyyyu/react-native-geetest-sensebot',
- ':react-native-geetest-sensebot'
- )
- file.fileReplace(
- projectDir + '/android/app/build.gradle',
- ':@yyyyu/react-native-geetest-sensebot',
- ':react-native-geetest-sensebot'
- )
-
- console.log('\nLink finished, hit <Enter> to continue')
- }
-
- postlink()
|