Peng-YM / QuanX

Scripts for QX, Loon, Surge, and ShadowRocket!
GNU General Public License v3.0
1.6k stars 177 forks source link

OpenAPI isJSBox issues #107

Open isKoi opened 1 year ago

isKoi commented 1 year ago

https://github.com/Peng-YM/QuanX/blob/b6afaad882c335a5136e6b6ef54bac8c7ace0838/Tools/OpenAPI/API.js#L8

$jsbox似乎已废弃,返回undefined,建议改为const isJSBox = typeof require == "function" && $app.info.bundleID == "app.cyan.jsbox";