Open .slatepack file with the app #13

Merged
ardocrat merged 28 commits from slatepack_ext_file into master 2024-09-16 19:08:27 +03:00
Showing only changes of commit 1934dc3377 - Show all commits

View file

@ -36,7 +36,7 @@ fn real_main() {
let path = std::path::PathBuf::from(&args[1]);
let content = match std::fs::read_to_string(path) {
Ok(s) => Some(s),
Err(_) => None
Err(_) => Some(args[1].clone())
};
data = content
}