update tauri config

This commit is contained in:
Ren Amamiya
2023-09-06 07:46:31 +07:00
parent 69a3e85cb3
commit 45c5a890b9
9 changed files with 42 additions and 52 deletions

View File

@@ -6,7 +6,6 @@
use tauri::Manager;
use tauri_plugin_autostart::MacosLauncher;
use tauri_plugin_sql::{Migration, MigrationKind};
use window_shadows::set_shadow;
use webpage::{Webpage, WebpageOptions};
use std::time::Duration;
@@ -103,9 +102,6 @@ fn main() {
apply_vibrancy(&window, NSVisualEffectMaterial::HudWindow, None, None)
.expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS");
// set native shadow
set_shadow(&window, true).expect("Unsupported platform!");
Ok(())
})
.plugin(