+1
-3
src-tauri/src/lib.rs
+1
-3
src-tauri/src/lib.rs
···
22
22
match fs::metadata(&container_folder) {
23
23
Ok(meta) => {
24
24
if meta.is_file() {
25
-
panic!(
26
-
"document.write('Cannot launch app as the container path is a file not a directory')"
27
-
);
25
+
panic!("Cannot launch app as the container path is a file not a directory");
28
26
}
29
27
}
30
28
Err(_) => {