mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 13:41:17 -05:00
1e0b39e7c0
capture_electron_scenario launched the target with the operator's real HOME, temp directory and Electron profile. A capture could read and change existing app data, caches and saved logins, every capture of a .js entry shared one persistent 'Electron' profile, and launching an app the operator already runs handed the launch to that instance through the single-instance lock. Add profile: isolated | real. Omitted means isolated: the provider owns a private 0700 root, redirects HOME/TMPDIR/TMP (and Windows TEMP, USERPROFILE, APPDATA, LOCALAPPDATA) into it, and the active hook sets Electron's home, appData, temp, logs and crashDumps paths before application code runs, stopping the launch if it cannot. The root is removed after the owned processes are released and is retained with the cleanup error otherwise. profile real keeps the previous behaviour as an explicit choice. The tool description no longer claims updater effects are blocked.