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:
34
src-tauri/tauri.conf.json
Normal file
34
src-tauri/tauri.conf.json
Normal 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"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user