Allow use of the native Android Debug Bridge#53
Conversation
7d55d8f to
81de910
Compare
|
Is there a reason this PR includes making the agent support any app ID? I'd probably prefer this to be in a different PR, esp. given that the implementation of it here isn't ideal. (i.e. would prefer not to use a command line arg for the agent and would also prefer not having a bunch of different oncelocks for each static path) |
f33d8a4 to
0d9e605
Compare
|
I removed the commit to change the game id of the agent from this branch, but I would like to add it at some point as a dev option at least (I have two BS installs as an example) |
43b079c to
400d02c
Compare
02c2b40 to
706bc87
Compare
9d0abda to
45e24da
Compare
|
Conflicts need resolving again |
c2384c4 to
ae4df3c
Compare
|
I’ve merged the head, and it doesn’t fail to build… but I don’t know if it functions. |
This allows the website to connect to the local adb server through a websocket proxy
- Moved "@yume-chan/stream-extra" from devDependencies to dependencies - Enhanced WebSocket error handling with logging - Log errors during stream close in WebSocketConnection - Removed unneccesary AGENT_SHA1 empty check
- Removed DeviceStore and SyncStore, consolidating their functionality into a new context-based approach. - Introduce DeviceConnector and BridgeManager hooks to manage device connections and bridge interactions. - Updated ModManager, OptionsMenu, and other components to utilize the new context for device management. - Refactor operation modals to use a new context-based approach. - Add a missing key in the ChooseDevice component.
This uses a custom `__mbfBridge` window object injected by a wrapper app to connect to the native adb server running on the device.
55f6fe2 to
2432f7b
Compare
|
@Lauriethefish I’ve abstracted the ADB connector logic, and also added support for a global I’ve kept the web socket connector in this branch, but it could just as well be removed. The factory method allows for multiple potential connectors (or just one) |
This allows the website to connect to the local adb server through a websocket proxy
https://github.com/dantheman827/mbf-bridge/