mirror of
https://github.com/Tim-Paik/neutauri.git
synced 2024-10-12 23:29:41 +00:00
fixed windows error
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
#![windows_subsystem = "windows"]
|
||||
|
||||
use wry::{
|
||||
application::{
|
||||
dpi::{PhysicalSize, Size},
|
||||
@ -9,11 +11,7 @@ use wry::{
|
||||
};
|
||||
mod data;
|
||||
|
||||
#[cfg(windows)]
|
||||
const PROTOCOL_PREFIX: &str = "https://{PROTOCOL}.";
|
||||
#[cfg(not(windows))]
|
||||
const PROTOCOL_PREFIX: &str = "{PROTOCOL}://";
|
||||
|
||||
const PROTOCOL: &str = "neu";
|
||||
|
||||
fn custom_protocol_uri<T: Into<String>>(protocol: T, path: T) -> String {
|
||||
|
Reference in New Issue
Block a user