Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.6 version OHOS adaptation #20826

Open
wants to merge 5 commits into
base: cocos2d-x-3.6-oh
Choose a base branch
from

Conversation

xqg243795168
Copy link

3.6 version OHOS adaptation

3.6  version OHOS adaptation
add appveyor.yml
add left applicationScreenSizeChanged
change sys_string "HarmonyOS Next"
change "jit off" to mainMenu only ohos
@@ -58,6 +58,8 @@ elseif target == cc.PLATFORM_OS_WINRT then
device.platform = "winrt"
elseif target == cc.PLATFORM_OS_WP8 then
device.platform = "wp8"
elseif target == cc.PLATFORM_OS_OHOS then
device.platform = "openharmony"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should change to HarmonyOS Next?

pEngine->executeScriptFile("src/controller.lua");
#if (CC_TARGET_PLATFORM == CC_PLATFORM_OHOS)
FileUtils::getInstance()->addSearchPath("");
pEngine->executeScriptFile("controller.lua");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • why add an empty path
  • wrong indent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants