Bluesky app fork with some witchin' additions 馃挮
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at cope-settings-sync 30 lines 726 B view raw
1const {withXcodeProject} = require('expo/config-plugins') 2const path = require('path') 3const fs = require('fs') 4 5const withExtensionViewController = ( 6 config, 7 {controllerName, extensionName}, 8) => { 9 return withXcodeProject(config, config => { 10 const controllerPath = path.join( 11 config.modRequest.projectRoot, 12 'modules', 13 extensionName, 14 `${controllerName}.swift`, 15 ) 16 17 const targetPath = path.join( 18 config.modRequest.platformProjectRoot, 19 extensionName, 20 `${controllerName}.swift`, 21 ) 22 23 fs.mkdirSync(path.dirname(targetPath), {recursive: true}) 24 fs.copyFileSync(controllerPath, targetPath) 25 26 return config 27 }) 28} 29 30module.exports = {withExtensionViewController}