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.2 version OHOS adaptation #20816

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

Conversation

IceBBBBB
Copy link
Contributor

No description provided.

Signed-off-by: 冰冰冰 <418776654@qq.com>
Signed-off-by: 冰冰冰 <418776654@qq.com>
executeScriptFile("Deprecated.lua");
executeScriptFile("cocos/DeprecatedEnum.lua");
executeScriptFile("cocos/DeprecatedClass.lua");
executeScriptFile("cocos/Deprecated.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 change path?

@@ -28,7 +28,8 @@ bool AppDelegate::applicationDidFinishLaunching()

//The call was commented because it will lead to ZeroBrane Studio can't find correct context when debugging
//engine->executeScriptFile("src/hello.lua");
engine->executeString("require 'src/hello.lua'");
FileUtils::getInstance()->addSearchPath("");
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?

@@ -66,14 +71,15 @@ local function addSearchPath(resPrefix, height)
end

fileUtils:setSearchPaths(searchPaths)
fileUtils:setSearchPaths("")
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?

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