refactor, remove login device info in sciter
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
3c3d1a84ef
commit
6608bf882f
3 changed files with 5 additions and 22 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue