Skip to content

Commit 0d69075

Browse files
PythonSmall-QCopilot
andcommitted
fix: improve macOS build compatibility by removing unsupported transparent window option
Co-authored-by: Copilot <copilot@github.com>
1 parent 669585a commit 0d69075

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6464

6565
- **Startup race condition**`DbState` is now registered with Tauri's state manager *before* widget windows are restored, preventing early IPC calls from failing with a missing-state error
6666
- Two Rust compile errors introduced by `exe_path` tracking: missing tuple element in `monitor/mod.rs` and missing `start_on_launch` field in `WidgetConfig` initializer
67+
- **macOS build compatibility** — removed unsupported `WebviewWindowBuilder::transparent(true)` call in `widget_cmd.rs`, fixing `error[E0599]` when building `aarch64-apple-darwin`
6768

6869
### Changed
6970

@@ -72,6 +73,7 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
7273
- New `ignored_apps` table created on first run
7374
- All stat queries now filter out rows whose `exe_path` is in the ignored-apps list
7475
- Version bumped to **0.3.0** in `package.json`, `Cargo.toml`, and `tauri.conf.json`
76+
- Added crate feature mapping `macos-private-api = ["tauri/macos-private-api"]` in `src-tauri/Cargo.toml` to avoid misconfiguring `tauri-build` features in release builds
7577

7678
---
7779

src-tauri/src/commands/widget_cmd.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ pub fn build_widget_window_sync(app: &AppHandle, config: &WidgetConfig) -> Resul
119119
.inner_size(width, height)
120120
.position(config.x, config.y)
121121
.decorations(false)
122-
.transparent(true)
123122
.always_on_top(config.always_on_top_mode == "always")
124123
.skip_taskbar(false)
125124
.resizable(true)

0 commit comments

Comments
 (0)