Paving-Base / APK-Installer

An Android Application Installer for Windows
https://paving-base.github.io/APK-Installer/
GNU General Public License v3.0
1.49k stars 145 forks source link

修复了无法检测到 MagiskOnWSA 项目构建的 WSA 问题 #45

Closed bigsaltyfishes closed 2 years ago

bigsaltyfishes commented 2 years ago

更改检测 prop 为 ro.boot.hardware (与SOC有关,高通手机返回值为 qcom,WSA 为 windows_$(arch),它并不由 prop 定义,而是由 init 进程在系统启动时从固件或内核参数获取,所以不必担心 Magisk 和 GAPPS 对 prop 的修改引起识别异常,除非有人故意去搞内核),使之能正常检测到刷入了 Magisk 和 GAPPS 的 WSA

wherewhere commented 2 years ago

越来越离谱了幽灵幽灵幽灵