const fs = require('fs');
const path = require('path');
const ROOT = process.cwd();
const { _config } = require('../getBlConfig.js');

global._bili_cache_data = {
	author: '转山',
	coverMapping: {},
	APPID: JSON.parse(fs.readFileSync(path.join(ROOT, _config, '.sapprc'), 'utf8')).appId,
}

global._bili_cache_data.isInternal = global._bili_cache_data.APPID.indexOf('internal') > -1
