diff --git a/dist-electron/main.js b/dist-electron/main.js index d3dd1ef..9c18f09 100644 --- a/dist-electron/main.js +++ b/dist-electron/main.js @@ -318,7 +318,7 @@ async function cleanupOldRecordings() { try { const files = await fs.readdir(RECORDINGS_DIR); const now = Date.now(); - const maxAge = 7 * 24 * 60 * 60 * 1e3; + const maxAge = 1 * 24 * 60 * 60 * 1e3; for (const file of files) { const filePath = path.join(RECORDINGS_DIR, file); const stats = await fs.stat(filePath); diff --git a/src/components/SourceSelector.tsx b/src/components/SourceSelector.tsx index 999d2db..037fe2f 100644 --- a/src/components/SourceSelector.tsx +++ b/src/components/SourceSelector.tsx @@ -96,7 +96,7 @@ export function SourceSelector() { {screenSources.map((source) => ( handleSourceSelect(source)} >