Add ability to open files with system default application (#17231)

This commit is contained in:
KorigamiK 2024-09-11 00:06:36 +05:30 committed by GitHub
parent 06142f975b
commit ae3880e71a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 63 additions and 1 deletions

View file

@ -318,6 +318,10 @@ impl Platform for TestPlatform {
fn register_url_scheme(&self, _: &str) -> Task<anyhow::Result<()>> {
unimplemented!()
}
fn open_with_system(&self, _path: &Path) {
unimplemented!()
}
}
#[cfg(target_os = "windows")]