feat(deep-link): Add deep link support for desktop (#916)

This commit is contained in:
Fabian-Lars
2024-05-09 18:58:15 +02:00
committed by Lucas Nogueira
parent eb1679b997
commit 021d23bef3
21 changed files with 614 additions and 29 deletions
+13
View File
@@ -8,8 +8,21 @@ pub type Result<T> = std::result::Result<T, Error>;
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("unsupported platform")]
UnsupportedPlatform,
#[error(transparent)]
Io(#[from] std::io::Error),
#[error(transparent)]
Tauri(#[from] tauri::Error),
#[cfg(target_os = "windows")]
#[error(transparent)]
Windows(#[from] windows_result::Error),
#[cfg(target_os = "linux")]
#[error(transparent)]
Ini(#[from] ini::Error),
#[cfg(target_os = "linux")]
#[error(transparent)]
ParseIni(#[from] ini::ParseError),
#[cfg(mobile)]
#[error(transparent)]
PluginInvoke(#[from] tauri::plugin::mobile::PluginInvokeError),