- Inventory panel: expand to full width, fix layout with long descriptions - Compact inventory: show category summary instead of item list - Detail panel header: show full category name instead of generic "Details" - Material description: show "Crafting material — Raw" instead of repeating name - Equipped indicator: use > fallback instead of ✓ on non-UTF8 terminals - Fortune cookies and music: consumed immediately on receipt (ephemeral) - Remove inline resource summary after box opening (not useful) - Add localized category names (EN + FR) for 16 item categories - Add OpenTheBox.cmd launcher for Windows Terminal / PowerShell / cmd - Update TODO.md with characteristics report
16 lines
689 B
Batchfile
16 lines
689 B
Batchfile
@echo off
|
|
REM Launch Open The Box in Windows Terminal with PowerShell and UTF-8 support.
|
|
REM Falls back to PowerShell directly if Windows Terminal is not available.
|
|
|
|
where wt >nul 2>nul
|
|
if %ERRORLEVEL% equ 0 (
|
|
wt new-tab -p "PowerShell" -- pwsh -NoProfile -Command "& { [Console]::OutputEncoding = [Text.Encoding]::UTF8; dotnet run --project '%~dp0src\OpenTheBox' -- %* }"
|
|
) else (
|
|
where pwsh >nul 2>nul
|
|
if %ERRORLEVEL% equ 0 (
|
|
pwsh -NoProfile -Command "& { [Console]::OutputEncoding = [Text.Encoding]::UTF8; dotnet run --project '%~dp0src\OpenTheBox' -- %* }"
|
|
) else (
|
|
chcp 65001 >nul 2>nul
|
|
dotnet run --project "%~dp0src\OpenTheBox" -- %*
|
|
)
|
|
)
|