Files
ext-rclone-jav/host/register-host.bat
T

18 lines
468 B
Batchfile

@echo off
REM Double-click this to register the native messaging host with Brave.
REM Prompts for the extension ID, then runs install-host.ps1.
setlocal
set /p EXT_ID="Paste the rclone-jav extension ID from brave://extensions: "
if "%EXT_ID%"=="" (
echo No ID entered. Aborting.
pause
exit /b 1
)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0install-host.ps1" -ExtensionId "%EXT_ID%"
echo.
echo Done. Press any key to close.
pause >nul