chore: release v0.4.27

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
decolua
2026-05-09 22:48:07 +07:00
co-authored by Cursor
parent b184444f34
commit b39eb61c33
24 changed files with 517 additions and 229 deletions
+15
View File
@@ -0,0 +1,15 @@
import { NextResponse } from "next/server";
import { killAppProcesses } from "@/lib/appUpdater";
// Shutdown app to release file locks for manual update
export async function POST() {
try {
await killAppProcesses();
} catch { /* best effort */ }
const response = NextResponse.json({ success: true, message: "Shutting down for manual update..." });
setTimeout(() => process.exit(0), 500);
return response;
}