@echo on
setlocal
cd /d "%~dp0"
set "IG_DOMAIN_DIR=%~dp0"
set "AIWK_IG_DOMAIN_DIR=%~dp0"
set "IG_RTC_ROOT=D:\_St\yjm_win2rtc"
set "YJM_RTC_ROOT=D:\_St\yjm_win2rtc"
if exist "%IG_RTC_ROOT%\run_instagram_auto.bat" (
  call "%IG_RTC_ROOT%\run_instagram_auto.bat" %*
) else (
  py -3 yjm_save_dialog_auto_enter_ws.py %*
  if errorlevel 1 (
    echo.
    echo [ERROR] yjm_save_dialog_auto_enter_ws.py failed.
    pause
  )
)
