-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
base: cocos2d-x-3.2-oh
Are you sure you want to change the base?
3.2 version OHOS adaptation #20816
Conversation
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"); |
There was a problem hiding this comment.
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(""); |
There was a problem hiding this comment.
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("") |
There was a problem hiding this comment.
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?
No description provided.