mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
refactor, remove login device info in sciter
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -1323,18 +1323,5 @@ function getHttpHeaders() {
|
||||
}
|
||||
|
||||
function getDeviceInfo() {
|
||||
var os;
|
||||
if (is_win) {
|
||||
os = 'windows';
|
||||
} else if (is_linux) {
|
||||
os = 'linux';
|
||||
} else if (is_osx) {
|
||||
os = 'macos';
|
||||
}
|
||||
|
||||
return {
|
||||
os: os,
|
||||
type: 'client',
|
||||
name: handler.get_hostname()
|
||||
};
|
||||
return JSON.parse(handler.get_login_device_info());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user