mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 22:36:00 +00:00
* feat(addons): add a CurseForge source to the addon browser Search and install CurseForge addons from the Download addons window by driving the installed CurseForge app in the background: it starts minimized on the session's X display with its inspector bound to 127.0.0.1, and the window's own renderer services handle game detection, search, install and shutdown. Sign-in stays inside the CurseForge app. The Install buttons in the addon list now size to their label, so the label is centered and the button matches the other compact buttons. * fix(curseforge): secret inspector URL, hold mode and serialised starts - Start CurseForge with its Node inspector on 127.0.0.1:0 and publish only the UUID websocket URL, kept in the 0700 state directory, so no fixed unauthenticated debug port is exposed. - The agent evaluates through that URL instead of a fixed port. - Add a hold mode that runs as a session program and stops the app on exit, and a lock so hold and start never launch twice. * feat(addons): run CurseForge in a hidden session when none is running - Opening the CurseForge source with no session starts one headlessly (offscreen compositor output, shared start path with SessionActivity via CompositorHost) running the CurseForge hold helper; leaving the dialog stops the app and that session. A session the user already had is reused and left running. - Drop the "start a session" notice from every locale. - Addon browser link: cleanup shares the link's lock off the UI thread, stops the app at once on close, refuses work after close and stops a launch that finishes after close. - CurseForgeApp.start stops the app before every failed return. - instanceFor returns no instance when the populated list has no match. * Harden headless CurseForge session and helper lifecycle Scope the hidden session to its id, roll back partial starts, release the offscreen reader once the session ends, re-acquire the inspector when its endpoint goes away, bound DevTools calls by one deadline, key the installed snapshot by target, track the helper launch by pid start time and directory, fail on lock errors, and update the HDR gate test to its new location. * Map DevTools send failures and recheck the hidden session id * fix(addons): bind the hidden session to the id it claims at launch * Keep the CurseForge helper quiet when no launch is recorded