renamed folder "app" to "src"

This commit is contained in:
2025-10-20 16:38:28 +02:00
parent 1890d28f47
commit 272c9519b9
8 changed files with 0 additions and 0 deletions

14
src/sendNotification.ts Normal file
View File

@@ -0,0 +1,14 @@
import * as Bun from "bun";
export function sendNotification(title: string, body: string, click?: string | null) {
const command = [
"python",
"./app/notification.py",
`--title=${title}`,
`--body=${body}`,
];
if (click) {
command.push(`--click=${click}`);
}
Bun.spawn(command);
}