Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface/InterfaceConfig中避免使用超过2^53的整数 #427

Open
neko-para opened this issue Nov 28, 2024 · 0 comments
Open

Interface/InterfaceConfig中避免使用超过2^53的整数 #427

neko-para opened this issue Nov 28, 2024 · 0 comments

Comments

@neko-para
Copy link
Contributor

考虑的方案主要有两个

P1

直接把所有screencap/input改为string[], 好处是用户可以比较直接的去配置, 坏处是要么导致不兼容, 要么额外增加兼容逻辑

P2

把all和default单独处理成特殊的字符串, 好处是几乎不需要复杂的兼容逻辑, 坏处是配置变得有点不一致


在json里面使用2^64就是坏文明!

@MistEO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant