GUI: Footer.svelte gets a small inline "Rust" pill next to the copyright line (red bg #b7411a, white 11px, rounded). Now obvious at-a-glance which fork's UI you're looking at when both python and rust are open side-by-side. Python edition mirrors with a console banner. Launcher: run.bat at the repo root loads dev.env (skipping #-comments and blank lines), then `start ""` spawns target\release\jarvis-gui.exe. The new Desktop shortcut "Jarvis (Rust).lnk" points at this batch file with resources\icons\icon.ico as its icon. WindowStyle=7 means the cmd host stays minimized — only the GUI window pops up. If the user hasn't built yet, the bat prints the cargo build command and pauses instead of silently doing nothing.
19 lines
451 B
Batchfile
19 lines
451 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
cd /d "%~dp0"
|
|
|
|
if exist dev.env (
|
|
for /f "usebackq tokens=1,* delims==" %%a in ("dev.env") do (
|
|
set "_k=%%a"
|
|
if not "!_k:~0,1!"=="#" if not "!_k!"=="" set "%%a=%%b"
|
|
)
|
|
)
|
|
|
|
if exist "target\release\jarvis-gui.exe" (
|
|
start "" "target\release\jarvis-gui.exe"
|
|
exit /b 0
|
|
)
|
|
|
|
echo target\release\jarvis-gui.exe not found.
|
|
echo Build it first: cargo build --release -p jarvis-gui
|
|
pause
|