调整字符串判断

This commit is contained in:
陌生人 2024-11-18 13:59:01 +08:00 committed by wangpenglong
parent fba1a46716
commit a07fa70537
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ function getArch() {
function getoskey() {
let infoKeyList = [os_info['arch'], os_info['org'], os_info['type']];
let tempInfo = infoKeyList.join('_');
if (tempInfo == '"x86_openkylin_desktop"') {
if (tempInfo == 'x86_openkylin_desktop') {
os_info['info'] = tempInfo;
}
os_info['info'] = "undefined";