feat: Init of Tauri application with system tray support and configuration

- Added main.rs to set up the Tauri application with a system tray.
- Implemented a basic application state management using Mutex.
- Created a system tray menu with options for "Settings" and "Quit".
- Configured tauri.conf.json with application metadata and window settings.
This commit is contained in:
2026-01-18 16:04:22 +01:00
parent a7b0c6212f
commit cb14fe0989
13 changed files with 12736 additions and 1 deletions

34
src-tauri/tauri.conf.json Normal file
View File

@@ -0,0 +1,34 @@
{
"productName": "ai-translater-client",
"version": "0.1.0",
"identifier": "com.ai-translater.client",
"build": {
"beforeDevCommand": "",
"beforeBuildCommand": "",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "AI Typist Inställningar",
"width": 800,
"height": 600,
"visible": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}