You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: bundle NaïveProxy client (no external plugin required) (#23)
Extract the official klzgrad/naiveproxy client binary from the upstream plugin
APKs and bundle it as app/executableSo/<abi>/libnaive.so for all 4 ABIs, so
NaïveProxy profiles work without installing the separate moe.matsuri.exe.naive
plugin.
- buildScript/lib/naive.sh: download the naiveproxy plugin APKs (v149.0.7827.114-1)
and extract libnaive.so per ABI (./run lib naive).
- PluginManager.initNativeInternal: resolve naive-plugin -> libnaive.so from
nativeLibraryDir, mirroring the bundled Mieru/Hysteria mechanism, falling back
to the external APK plugin when the bundled binary is absent.
- CI: build + cache the naive binary and verify it across the 4 workflows.
- libnaive.so is already in Executable.EXECUTABLES, and BoxInstance already
launches naive-plugin as a sidecar, so no launch changes are needed.
There is no native sing-box Naïve outbound (sing-box only implements a Naïve
inbound), and the real client is Cronet/C++; bundling the official binary is the
native-without-plugin path, consistent with the other bundled sidecars.
0 commit comments