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.
This commit is contained in:
YetAnotherSuite Dev 2026-07-20 23:07:25 +02:00
parent 148b5a2121
commit e5cbb66020
2 changed files with 6 additions and 1 deletions

View File

@ -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()
}

View File

@ -10,7 +10,6 @@
"beforeBuildCommand": "pnpm --filter @yetanother/web build" "beforeBuildCommand": "pnpm --filter @yetanother/web build"
}, },
"app": { "app": {
"title": "YetAnotherSuite",
"windows": [ "windows": [
{ {
"title": "YetAnotherSuite", "title": "YetAnotherSuite",