mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-11-23 04:11:20 +01:00
refactor: disable deep links on linux
This commit is contained in:
1 parent
e02f588a90
commit
40886f2ded
1 file changed
+2
-2
@@ -300,9 +300,9 @@ pub fn run() {
|
||||
// Set up deep link handler
|
||||
let handle = app.handle().clone();
|
||||
|
||||
#[cfg(any(windows, target_os = "linux"))]
|
||||
#[cfg(windows)]
|
||||
{
|
||||
// For Windows and Linux, register all deep links at runtime for development
|
||||
// For Windows, register all deep links at runtime
|
||||
if let Err(e) = app.deep_link().register_all() {
|
||||
eprintln!("Failed to register deep links: {e}");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user