{ "do_default": { "exclude_from_template": [ "runtime/config.json", "runtime/version.json" ], "project_replace_project_name": { "src_project_name": "HelloLua", "files": [ "config.json", ".project" ] }, "append_dir": [ { "from": "templates/lua-template-default/Content", "to": "Content", "exclude": [] }, { "from": "extensions/scripting/lua-bindings/script", "to": "Content/src/axmol", "exclude": [] } ] }, "do_add_native_support": { "append_dir": [ { "from": "extensions/scripting/lua-bindings/manual/lua_module_register.h", "to": "Source/" } ], "project_rename": { "src_project_name": "HelloLua", "files": [ "PROJECT_NAME.xsxproj" ] }, "project_replace_project_name": { "src_project_name": "HelloLua", "files": [ "config.json", ".project", "proj.win32/main.cpp", "proj.android/settings.gradle", "proj.android/app/res/values/strings.xml", "proj.ios_mac/ios/main.m", "proj.ios_mac/ios/Prefix.pch", "CMakeLists.txt" ] }, "project_replace_package_name": { "src_package_name": "org.axmol.hellolua", "files": [ "proj.android/app/build.gradle", "proj.android/app/AndroidManifest.xml"] }, "project_replace_so_name": { "src_so_name": "HelloLua", "files": [ "proj.android/app/AndroidManifest.xml" ] }, "project_replace_mac_bundleid": { "src_bundle_id": "org.axmol.hellolua", "files": [ "proj.ios_mac/mac/Info.plist" ] }, "project_replace_ios_bundleid": { "src_bundle_id": "org.axmol.hellolua", "files": [ "proj.ios_mac/ios/targets/ios/Info.plist", "proj.ios_mac/ios/targets/tvos/Info.plist" ] } }, "change_orientation": { "modify_files": [ { "file_path": "config.json", "pattern": "\\\"isLandscape\\\"\\s*:.*,", "replace_string": "\"isLandscape\": false," }, { "file_path": "Content/src/config.lua", "pattern": "width\\s*=.*,", "replace_string": "width = 640," }, { "file_path": "Content/src/config.lua", "pattern": "height\\s*=.*,", "replace_string": "height = 960," }, { "file_path": "proj.ios_mac/ios/targets/ios/Info.plist", "pattern": "UIInterfaceOrientationLandscapeRight", "replace_string": "UIInterfaceOrientationPortrait" }, { "file_path": "proj.ios_mac/ios/targets/ios/Info.plist", "pattern": "UIInterfaceOrientationLandscapeLeft", "replace_string": "UIInterfaceOrientationPortraitUpsideDown" }, { "file_path": "proj.android/app/AndroidManifest.xml", "pattern": "android:screenOrientation=\\\".*\\\"", "replace_string": "android:screenOrientation=\"portrait\"" } ] } }