代码拉取完成,页面将自动刷新
const services = require('./services.config')
const sharedVars = {
'process.env.SPECTRON': process.env.SPECTRON
}
// Any environment variables that you will need to access in electron's main process (any files under 'src/main')
// get exported here.
module.exports.main = {
...sharedVars
}
// Any environment variables that you will need to access in electron's renderer process (any files under 'src/renderer')
// get exported here.
module.exports.renderer = {
...sharedVars,
'process.env.YOUTUBE_ACTIVE': services.youtube.active,
'process.env.YOUTUBE_API_KEY': process.env.YOUTUBE_API_KEY
? '"' + process.env.YOUTUBE_API_KEY + '"'
: services.youtube.key,
'process.env.GITHUB_ACTIVE': services.github.active,
'process.env.GITHUB_CLIENT_ID': process.env.GITHUB_CLIENT_ID
? '"' + process.env.GITHUB_CLIENT_ID + '"'
: services.github.client,
'process.env.GITHUB_CLIENT_SECRET': process.env.GITHUB_CLIENT_SECRET
? '"' + process.env.GITHUB_CLIENT_SECRET + '"'
: services.github.secret,
'process.env.STACKOVERFLOW_ACTIVE': services.stackoverflow.active,
'process.env.STACKOVERFLOW_API_KEY': process.env.STACKOVERFLOW_API_KEY
? '"' + process.env.STACKOVERFLOW_API_KEY + '"'
: services.stackoverflow.key,
'process.env.SEARCHCODE_ACTIVE': services.searchcode.active,
'process.env.LOCAL_ACTIVE': services.local.active,
'process.env.RANKER_ACTIVE': services.ranker.active
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。