diff --git a/.gitignore b/.gitignore index b3263c2..55a2bd5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ frontend/dist /.opencode/ /.mimocode/ /.qoder/ +/public/ +/示例/ diff --git a/build.ps1 b/build.ps1 index a49e9c9..0426dd0 100644 --- a/build.ps1 +++ b/build.ps1 @@ -13,16 +13,7 @@ Write-Host "Building..." -ForegroundColor Yellow wails build -tags nofitz if ($LASTEXITCODE -ne 0) { Write-Host "Build failed!" -ForegroundColor Red; exit 1 } -# Rename using cmd to avoid encoding issues -cmd /c "copy /Y `"$buildDir\xk.exe`" `"$buildDir\年糕工具.exe`"" -cmd /c "del /f /q `"$buildDir\xk.exe`"" -cmd /c "del /f /q `"$buildDir\xk-dev.exe`"" - -# Remove standalone DLL (it's embedded now) -cmd /c "del /f /q `"$buildDir\libmupdf.dll`"" -cmd /c "del /f /q `"$buildDir\MuPDFLib.dll`"" - Write-Host "" Write-Host "=== Build Complete ===" -ForegroundColor Green -Write-Host " $buildDir\年糕工具.exe (single file, DLL embedded)" -ForegroundColor Gray +Write-Host " $buildDir\年糕工具.exe" -ForegroundColor Gray Write-Host "" diff --git a/frontend/src/components/HomeView.vue b/frontend/src/components/HomeView.vue index c0fddda..e2b7a90 100644 --- a/frontend/src/components/HomeView.vue +++ b/frontend/src/components/HomeView.vue @@ -22,6 +22,7 @@ const allTools = [ { id: 'image-grayscale', name: '灰度处理', category: 'image', action: 'grayscale', icon: 'Moon', color: '#f9e2af' }, { id: 'image-brightness', name: '调整亮度', category: 'image', action: 'brightness', icon: 'Sunny', color: '#f9e2af' }, { id: 'image-removebg', name: '背景去除', category: 'image', action: 'removebg', icon: 'MagicStick', color: '#f9e2af' }, + { id: 'image-stitch', name: '图片拼接', category: 'image', action: 'stitch', icon: 'Connection', color: '#f9e2af' }, { id: 'convert-pdf-to-image', name: 'PDF转图片', category: 'convert', action: 'pdf-to-image', icon: 'Document', color: '#cba6f7' }, { id: 'convert-word-to-pdf', name: 'Word转PDF', category: 'convert', action: 'word-to-pdf', icon: 'Document', color: '#cba6f7' }, { id: 'convert-excel-to-csv', name: 'Excel转CSV', category: 'convert', action: 'excel-to-csv', icon: 'Document', color: '#cba6f7' }, diff --git a/frontend/src/components/ToolView.vue b/frontend/src/components/ToolView.vue index 4f68fde..55fc059 100644 --- a/frontend/src/components/ToolView.vue +++ b/frontend/src/components/ToolView.vue @@ -1,20 +1,12 @@