This commit is contained in:
marcus hinz
2026-07-12 00:35:09 +02:00
parent ce4e48e311
commit b1a2291aef
4 changed files with 20 additions and 11 deletions
+1 -2
View File
@@ -2344,8 +2344,6 @@ fn serve_popup_dbus(app: tauri::AppHandle) -> zbus::Result<()> {
/// Haupt-App: reine Tray-App ohne Dock-Eintrag.
fn main_builder() -> tauri::Builder<tauri::Wry> {
use tauri::Manager;
tauri::Builder::default()
.plugin(tauri_plugin_autostart::init(
tauri_plugin_autostart::MacosLauncher::LaunchAgent,
@@ -2417,6 +2415,7 @@ fn main_builder() -> tauri::Builder<tauri::Wry> {
#[cfg(not(target_os = "linux"))]
{
use tauri::tray::{MouseButton, MouseButtonState, TrayIconBuilder, TrayIconEvent};
use tauri::Manager;
#[cfg(target_os = "macos")]
let icon = tauri::image::Image::from_bytes(include_bytes!("../icons/trayTemplate.png"))?;
#[cfg(not(target_os = "macos"))]