Skip to content

Commit

Permalink
Review and revise based on feedback
Browse files Browse the repository at this point in the history
Signed-off-by: 冰冰冰 <418776654@qq.com>
  • Loading branch information
IceBBBBB committed Dec 24, 2024
1 parent 763301d commit 61f9c1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,13 @@ cc.PLATFORM_OS_MAC = 2
cc.PLATFORM_OS_ANDROID = 3
cc.PLATFORM_OS_IPHONE = 4
cc.PLATFORM_OS_IPAD = 5
cc.PLATFORM_OS_OHOS = 6
cc.PLATFORM_OS_BLACKBERRY = 6
cc.PLATFORM_OS_NACL = 7
cc.PLATFORM_OS_EMSCRIPTEN = 8
cc.PLATFORM_OS_TIZEN = 9
cc.PLATFORM_OS_WINRT = 10
cc.PLATFORM_OS_WP8 = 11
cc.PLATFORM_OS_OHOS = 12

cc.LANGUAGE_ENGLISH = 0
cc.LANGUAGE_CHINESE = 1
Expand Down
2 changes: 1 addition & 1 deletion cocos/scripting/lua-bindings/script/framework/device.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ elseif target == cc.PLATFORM_OS_WINRT then
elseif target == cc.PLATFORM_OS_WP8 then
device.platform = "wp8"
elseif target == cc.PLATFORM_OS_OHOS then
device.platform = "ohos"
device.platform = "HarmonyOS Next"
end

local language_ = app:getCurrentLanguage()
Expand Down

0 comments on commit 61f9c1b

Please sign in to comment.