update ignore

This commit is contained in:
lenn
2026-04-07 18:06:46 +08:00
parent 770d713d03
commit 0d3266c95a
344 changed files with 1900 additions and 296 deletions

24
clear-log.bat Normal file
View File

@@ -0,0 +1,24 @@
@echo off
setlocal enabledelayedexpansion
set "LOG_DIR=%~dp0src-tauri"
set "FOUND=0"
if not exist "%LOG_DIR%" (
echo Log directory not found: "%LOG_DIR%"
exit /b 1
)
for %%F in ("%LOG_DIR%\program.log*") do (
if exist "%%~fF" (
type nul > "%%~fF"
echo Cleared: %%~nxF
set "FOUND=1"
)
)
if "%FOUND%"=="0" (
echo No matching log files found in "%LOG_DIR%".
)
endlocal