mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-11 07:55:34 +03:00
fix: ipc scope not found error at windows (#7264)
The incorrect value ("window") was utilized when determining the Windows platform.
This commit is contained in:
parent
c4e9740c83
commit
33f6aa438e
@ -382,9 +382,9 @@ impl<R: Runtime> WindowManager<R> {
|
||||
}
|
||||
|
||||
pub(crate) fn protocol_url(&self) -> Cow<'_, Url> {
|
||||
#[cfg(any(window, target_os = "android"))]
|
||||
#[cfg(any(windows, target_os = "android"))]
|
||||
return Cow::Owned(Url::parse("https://tauri.localhost").unwrap());
|
||||
#[cfg(not(any(window, target_os = "android")))]
|
||||
#[cfg(not(any(windows, target_os = "android")))]
|
||||
Cow::Owned(Url::parse("tauri://localhost").unwrap())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user