From e5cbb66020f4c1f434191a1751b7db04d6ae37ea Mon Sep 17 00:00:00 2001 From: YetAnotherSuite Dev Date: Mon, 20 Jul 2026 23:07:25 +0200 Subject: [PATCH] fix: add missing Tauri main.rs binary entry point Tauri v2 requires both src/lib.rs (library) and src/main.rs (binary). main.rs calls yetanothersuite_lib::run() as the standard entry point. --- apps/desktop/src-tauri/src/main.rs | 6 ++++++ apps/desktop/src-tauri/tauri.conf.json | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 apps/desktop/src-tauri/src/main.rs diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rs new file mode 100644 index 0000000..4f5b6d0 --- /dev/null +++ b/apps/desktop/src-tauri/src/main.rs @@ -0,0 +1,6 @@ +// Prevents additional console window on Windows in release +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + +fn main() { + yetanothersuite_lib::run() +} diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json index d3fb49f..fab84ab 100644 --- a/apps/desktop/src-tauri/tauri.conf.json +++ b/apps/desktop/src-tauri/tauri.conf.json @@ -10,7 +10,6 @@ "beforeBuildCommand": "pnpm --filter @yetanother/web build" }, "app": { - "title": "YetAnotherSuite", "windows": [ { "title": "YetAnotherSuite",