+5
src-tauri/src/util/handle_uri_proto.rs
+5
src-tauri/src/util/handle_uri_proto.rs
···
26
// because tauri should only let the frontend of VRCPhotoManager read files throught this. Only
27
// becomes a potential issue if the frontend gets modified or there's an issue with tauri.
28
29
+
#[cfg(windows)]
30
let path = uri.path().split_at(1).1;
31
+
32
+
#[cfg(unix)]
33
+
let path = uri.path();
34
+
35
dbg!(path);
36
37
let file = fs::File::open(path);