fix: added gitignore handling

This commit is contained in:
2026-02-16 10:58:30 +01:00
parent 3b9ff2fc22
commit 2e27df0d63
9 changed files with 254 additions and 44 deletions

View File

@@ -55,6 +55,11 @@ export function registerIpcHandlers(): void {
});
});
safeHandle('git:ensureGitignore', async (_, projectPath: string) => {
const engine = getGitEngine();
return engine.ensureGitignore(projectPath);
});
// ============ Project Handlers ============
safeHandle('projects:create', async (_, data: { name: string; description?: string; slug?: string; dataPath?: string }) => {