mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
chore: update
This commit is contained in:
parent
ba0dc4fb81
commit
2028c189aa
@ -45,11 +45,11 @@ pub fn run() {
|
||||
.plugin(tauri_plugin_deep_link::init())
|
||||
.plugin(tauri_plugin_window_state::Builder::default().build())
|
||||
.setup(|app| {
|
||||
// #[cfg(target_os = "linux")]
|
||||
// {
|
||||
// use tauri_plugin_deep_link::DeepLinkExt;
|
||||
// app.deep_link().register_all()?;
|
||||
// }
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
use tauri_plugin_deep_link::DeepLinkExt;
|
||||
log_err!(app.deep_link().register_all());
|
||||
}
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
app.listen("deep-link://new-url", |event| {
|
||||
|
Loading…
x
Reference in New Issue
Block a user