Files
admin 2d6a95682f Sync working tree before initial Gitea push
- File reorg: popup/options/bulk-check moved to src/ subdirs
- Shared modules: src/shared/id-extract.js, src/options/options-shared.js
- Host updates: rcjav-host.py + register/install scripts
- .gitignore expanded
2026-05-26 22:42:15 +02:00

13 lines
631 B
Batchfile

@echo off
REM Portable: use python on PATH. Avoid py.exe as an extra native-messaging
REM stdio hop; Chrome/Brave can be picky about inherited handles.
REM Stderr capture lives INSIDE rcjav-host.py now (shared-access append via
REM os.open + os.dup2). The previous `2>>` redirection here used cmd.exe's
REM exclusive-write file handle, which caused SHARING VIOLATION races when
REM two host processes spawned near-simultaneously — surfacing to the
REM extension as "Error when communicating with the native messaging host."
setlocal
set "PYBIN=python"
if not exist "%~dp0logs" mkdir "%~dp0logs"
"%PYBIN%" -u "%~dp0rcjav-host.py"