Comments (2)
参见 https://github.com/metowolf/BilibiliHelper/blob/master/modules/guard.js
from bilibilihelper.
参见 https://github.com/metowolf/BilibiliHelper/blob/master/modules/guard.js
config.js如下
require('dotenv').config()
const Conf = require('conf')
const config = new Conf({
cwd: ${__dirname}/../
,
configName: '.config',
fileExtension: '',
})
module.exports = config
但是没找到dotenv这个文件,只有在dotenv文件夹中找到了一些相关的......之前也没学过JavaScript,不太了解。
最后我用修改guard.js中if (Math.random() * 100 >= guardPercent) 将*100修改或者取消if即可即可;另一种做法是修改init.js 中 if (config.get('version') !== package.version) 取消if也可以。但都感觉不太正规......
from bilibilihelper.
Related Issues (20)
- ACCESS_TOKEN怎么获取? HOT 1
- 报错 HOT 2
- 亲密度不在增加 HOT 2
- 希望能支持向多个房间投喂礼物
- 无法登陆,配置文件账号密码确认正确 HOT 2
- docker镜像未更新 HOT 1
- 舰长不再赠送辣条
- 能否出一个windows版的教程 HOT 4
- 登录失败 HOT 1
- 直播的观众等级心跳经验不增加了
- 这个项目维护了吗 银瓜子宝箱领取失败 HOT 1
- 可以增加风纪的功能吗?
- 挂机
- bilibili
- 大佬可以支持青龙吗
- 登陆失败 HOT 3
- bilibili挂播可以领取人气票
- 为啥我的username设置了 登陆的时候还是root HOT 3
- 关于密码中特殊字符的处理 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bilibilihelper.