Conversation
|
Hi @Mikachu2333 ❤️ 感谢你的贡献!我们将在最少半小时,最多5天内阅读此 PR 并回复你 |
Collaborator
Author
|
@ccmywish on_android 似乎从未被调用过 |
Collaborator
Author
|
此外,我认为有必要为兼容性考虑,将bsd的on_linux值设为true mac没用过不知啥情况 |
Contributor
|
这个函数就是为了直接区分这几个系统,恰恰和你说的 “为兼容性考虑” 是相反的。
你说的那种兼容性,可以引入 额外的 |
ccmywish
requested changes
Oct 15, 2025
Contributor
ccmywish
left a comment
There was a problem hiding this comment.
-
恢复检测 Linux 本身的方式,保留你对安卓的检测方式的修改,显著区分二者。
-
不要用
REF,用代码里每一个 recipe 使用的@consult统一标准
added 3 commits
October 15, 2025 14:55
1. 回退linux检测 2. 补充缺少的return
Collaborator
Author
|
之前linux检测逻辑消失是手滑一不小心多删了导致的( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题描述
lib/xy.h的xy_detect_os故障 #312方案与实现
使用环境变量
export ANDROID_ROOT /systemref:
https://www.herongyang.com/Android/System-Information-System-Environment-Variables.html
https://blog.csdn.net/tkwxty/article/details/106733981
https://android.googlesource.com/platform/system/core/+/refs/heads/main/rootdir/init.environ.rc.in