AppImage / AppImage/AppImageKit

Improve architecture guessing

未关闭
#908 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement high-priority
主要语言
没有语言数据
星标
9.4k
派生
588
PR 合并指标
30 天内没有已合并 PR

描述

Right now, the "architecture guessing" is quite unreliable. The latest attempts to improve the situation worsened the situation even.

We should rework it entirely. My proposal is to keep looking for all executable files and `.so*` library files. We check whether they are ELF files, then parse their architecture out. @azubieta had prepared some code somewhere for this purpose.

In case there's multiple architectures in the list, instead of having to ask the user we could try a "majority" approach. For instance, if there's an absolute majority, we pick that (we could even use a 2/3 or 3/4 majority approach to make it even more reliable). If we cannot guess it that way, we can at least show the user "these are the ones we found, please pick one by doing XYZ".

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。