mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
This commit is contained in:
@@ -486,6 +486,11 @@ impl UI {
|
||||
format!("{}.{}", p.to_string_lossy(), self.get_software_ext())
|
||||
}
|
||||
|
||||
fn create_shortcut(&self, id: String) {
|
||||
#[cfg(windows)]
|
||||
crate::platform::windows::create_shortcut(&id).ok();
|
||||
}
|
||||
|
||||
fn open_url(&self, url: String) {
|
||||
#[cfg(windows)]
|
||||
let p = "explorer";
|
||||
@@ -541,6 +546,7 @@ impl sciter::EventHandler for UI {
|
||||
fn get_software_store_path();
|
||||
fn get_software_ext();
|
||||
fn open_url(String);
|
||||
fn create_shortcut(String);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user