1. 增加配置持久化

2. 完善细节
This commit is contained in:
sansen
2026-07-29 19:32:24 +08:00
parent 83f5bb8b30
commit 86532cc2e9
2 changed files with 14 additions and 7 deletions
+2 -3
View File
@@ -5,9 +5,8 @@ frontend/node_modules/
frontend/dist/ frontend/dist/
FFmpeg_GUI-res.syso FFmpeg_GUI-res.syso
# ffmpeg binaries (large, not in repo) # Bundled ffmpeg (large, gitignored)
build/bin/ffmpeg* bundled/ffmpeg.zip
build/bin/ffprobe*
# IDE # IDE
.idea/ .idea/
+12 -4
View File
@@ -23,11 +23,20 @@ if %errorlevel% neq 0 (
) )
cd .. cd ..
echo [3/3] Cleaning icon cache... echo [3/4] Checking ffmpeg binaries for bundling...
if exist "bundled\ffmpeg.zip" (
echo bundled\ffmpeg.zip found, will be embedded
) else (
echo WARNING: bundled\ffmpeg.zip NOT found
echo Zip ffmpeg.exe + ffprobe.exe into bundled\ffmpeg.zip to bundle.
echo The app will fall back to system PATH if ffmpeg is installed.
)
echo [4/4] Cleaning icon cache...
if exist "build\windows\icon.ico" del /q "build\windows\icon.ico" if exist "build\windows\icon.ico" del /q "build\windows\icon.ico"
if exist "*-res.syso" del /q "*-res.syso" if exist "*-res.syso" del /q "*-res.syso"
echo [4/4] Building Wails application... echo [5/5] Building Wails application...
wails build -clean -platform windows/amd64 wails build -clean -platform windows/amd64
if %errorlevel% neq 0 ( if %errorlevel% neq 0 (
echo ERROR: wails build failed echo ERROR: wails build failed
@@ -37,6 +46,5 @@ if %errorlevel% neq 0 (
echo. echo.
echo === Build complete! === echo === Build complete! ===
echo Output: build\bin\ffmpeg-gui.exe echo Output: bundled\ffmpeg-gui.exe
echo. echo.
pause