Files
designloves2-itda/Update_ITDA_Standalone.bat
Designloves2andClaude Sonnet 5 f68f7b629b Fix update script self-overwriting its own running launcher
Excluding update_standalone.ps1/Update_ITDA_Standalone.bat from the files
an update replaces - cmd.exe reads a .bat line-by-line as it executes, so
overwriting the very file it's mid-way through running (as the previous
version did, via git pull/copy including these two) corrupted its read
position and threw a garbage command error right after the real update work
finished.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-18 02:12:46 +09:00

10 lines
490 B
Batchfile

@echo off
rem Keep this file a trivial, never-changing stub. cmd.exe reads a .bat
rem line-by-line as it runs, so if update_standalone.ps1 ever overwrote THIS
rem file mid-run, the next line read here would be corrupted - that's why
rem update_standalone.ps1 deliberately excludes both launcher files from
rem what it updates. All real logic belongs in the .ps1, not here.
title ITDA Standalone Updater
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0update_standalone.ps1"
pause