mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
1 parent
c26e86288d
commit
8b4d50f3fb
37 files changed
+198
-44
No files matched your search
@@ -784,11 +784,11 @@ pub fn can_elevate() -> bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
pub fn elevate_portable(id: i32) {
|
||||
pub fn elevate_portable(_id: i32) {
|
||||
#[cfg(windows)]
|
||||
{
|
||||
let lock = CLIENTS.read().unwrap();
|
||||
if let Some(s) = lock.get(&id) {
|
||||
if let Some(s) = lock.get(&_id) {
|
||||
allow_err!(s.tx.send(ipc::Data::DataPortableService(
|
||||
ipc::DataPortableService::RequestStart
|
||||
)));
|
||||
|
||||
Reference in new issue
Block a user