WIP: Add yaak-mac-window to proxy app

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Gregory Schier
2026-03-11 15:35:54 -07:00
parent f51f72a332
commit 7be53ca330
7 changed files with 9 additions and 9 deletions

View File

@@ -17,6 +17,7 @@ log = { workspace = true }
serde_json = { workspace = true }
tauri = { workspace = true }
tauri-plugin-os = "2.3.2"
yaak-mac-window = { workspace = true }
yaak-proxy-lib = { workspace = true }
yaak-rpc = { workspace = true }
yaak-window = { workspace = true }

View File

@@ -13,6 +13,7 @@
"core:window:allow-maximize",
"core:window:allow-minimize",
"core:window:allow-start-dragging",
"core:window:allow-unmaximize"
"core:window:allow-unmaximize",
"yaak-mac-window:default"
]
}

View File

@@ -17,6 +17,7 @@ fn rpc(
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_os::init())
.plugin(yaak_mac_window::init())
.setup(|app| {
let data_dir = app.path().app_data_dir().expect("no app data dir");
std::fs::create_dir_all(&data_dir).expect("failed to create app data dir");
@@ -44,7 +45,7 @@ pub fn run() {
if let RunEvent::Ready = event {
let config = CreateWindowConfig {
url: "/",
label: "main",
label: "main_0",
title: "Yaak Proxy",
inner_size: Some((1000.0, 700.0)),
visible: true,