Skip to content

Commit 640127c

Browse files
hanshinoclaude
andcommitted
fix: verify PySide6 install with pip show instead of exit code
pip install can return non-zero even on success (e.g. deprecation warnings). Use pip show after install to confirm the package is actually available. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a233fda commit 640127c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

start.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ cd /d "%_root%"
2121
if %errorlevel% neq 0 (
2222
echo Installing PySide6, please wait...
2323
"%_root%toolkit\python\python.exe" -m pip install PySide6
24+
"%_root%toolkit\python\python.exe" -m pip show PySide6 >nul 2>&1
2425
if %errorlevel% neq 0 (
2526
echo.
2627
echo ERROR: Failed to install PySide6. Cannot start.

0 commit comments

Comments
 (0)