{ "do_default": [ { "action": "rep", "from": "HelloCpp", "to": "${projectName}", "files": [ "Source/AppDelegate.cpp", "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", "proj.android/app/AndroidManifest.xml" ] }, { "action": "rep", "from": "org.axmol.hellocpp", "to": "${packageName}", "files": [ "proj.android/app/build.gradle", "proj.android/app/AndroidManifest.xml", "proj.ios_mac/mac/Info.plist", "proj.ios_mac/ios/targets/ios/Info.plist", "proj.ios_mac/ios/targets/tvos/Info.plist" ] }, { "action": "cp", "from": "$env:AX_ROOT/templates/build.bat", "to": "${projectDir}/" }, { "action": "cp", "from": "$env:AX_ROOT/templates/run.bat.in", "to": "${projectDir}/" }, { "action": "del", "files": [ "axproj-template.json", "axproj2-template.json" ] } ], "do_portrait": [ { "action": "rep", "from": "UIInterfaceOrientationLandscapeRight", "to": "UIInterfaceOrientationPortrait", "files": ["proj.ios_mac/ios/targets/ios/Info.plist"] }, { "action": "rep", "from": "UIInterfaceOrientationLandscapeLeft", "to": "UIInterfaceOrientationPortraitUpsideDown", "files": ["proj.ios_mac/ios/targets/ios/Info.plist"] }, { "action": "rep", "pattern": "static\\s+ax\\:\\:Size\\s+([a-zA-Z_\\d]+)\\s*=\\s*ax\\:\\:Size\\(\\s*(\\d+),\\s*(\\d+)\\)", "to": "static ax::Size `$1 = ax::Size(`$3, `$2)", "files": ["Source/AppDelegate.cpp"] }, { "action": "rep", "pattern": "android:screenOrientation=\\\".*\\\"", "to": "android:screenOrientation=`\"portrait`\"", "files": ["proj.android/app/AndroidManifest.xml"] } ] }