Comments (6)
确实是没有实现,如果需要这个功能的话会在近一周内进行更新
from douyu-gift.
自定义赠送我手动根据房间号进行了修改,但是在mac上打包程序后报这个错误,调试半天搞不定。
我把'/config.db'修改成了'config.db'开发模式不报错了,但是打包完以后就这个错误。
大佬更新的时候能不能顺便看看这个问题。感谢
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/config.db'
在windows上面的路径是\\
,而在mac上路径是/
,所以你可以尝试修改background.ts
文件的第10行和13行,我没有MAC OS的电脑,无法进行测试,不过后续我会在Linux上进行测试,但在这之前你可以自行尝试一下。
from douyu-gift.
V1.1.0增加了这个功能,但是还没有进行测试。
from douyu-gift.
自定义赠送我手动根据房间号进行了修改,但是在mac上打包程序后报这个错误,调试半天搞不定。
我把'/config.db'修改成了'config.db'开发模式不报错了,但是打包完以后就这个错误。
大佬更新的时候能不能顺便看看这个问题。感谢
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/config.db'
from douyu-gift.
感谢!问题解决,修改了下路径好了。
let paths = process.execPath.split('/'); paths.pop(); let db = new Datastore({ filename: path.join(paths.join('/'), '/config.db'), autoload: true });
from douyu-gift.
建议把赠送逻辑从按百分比的模式换成数字的方式,荧光棒数量都是固定的,如果每天得到25个荧光棒,有四个牌子,按比例分配会导致剩下1个的情况,会导致一直重复的请求问题。
from douyu-gift.
Related Issues (20)
- 还是有点BUG 老哥 HOT 1
- 希望增加定时循环检测功能 HOT 1
- 为什么不能定时启动,然后完成任务后自动关闭啊? HOT 4
- 希望增加Fork项目的功能 HOT 1
- 没有定时任务的功能吗 HOT 1
- yarn electron:build 提示 Cannot find module './App.vue'. HOT 2
- 大佬 能不能安排个每周日续牌的选项 HOT 6
- 不会自动送荧光棒了 HOT 5
- 不会自动送荧光棒了啊,无限循环但送不出去 HOT 8
- 增加任务进行状态
- 大佬,赠送失败,日志重复如下,求修复 HOT 3
- 你好 那个 自动 “赠送比例” 设置百分比 后时候会失效, 之后设置了 3个赠送 目标 存在一个为0 HOT 2
- 有个问题 HOT 2
- 大佬,荧光棒自动赠送失败 HOT 7
- 有两个牌子,一个能送,另一个错误124 HOT 2
- 希望能更改分配荧光棒的逻辑 HOT 3
- 大佬能不能添加个后台运行 HOT 1
- 不会自动赠送BUG,需要重试才会生效 HOT 2
- 关于自动荧光棒 HOT 1
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 douyu-gift.