refactor, remove login device info in sciter

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-08-11 19:28:25 +08:00
parent 3c3d1a84ef
commit 6608bf882f
3 changed files with 5 additions and 22 deletions

View File

@@ -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());
}