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:
parent
148b5a2121
commit
e5cbb66020
6
apps/desktop/src-tauri/src/main.rs
Normal file
6
apps/desktop/src-tauri/src/main.rs
Normal 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()
|
||||
}
|
||||
@ -10,7 +10,6 @@
|
||||
"beforeBuildCommand": "pnpm --filter @yetanother/web build"
|
||||
},
|
||||
"app": {
|
||||
"title": "YetAnotherSuite",
|
||||
"windows": [
|
||||
{
|
||||
"title": "YetAnotherSuite",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user