File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Assets/AndroidIl2cppPatchDemo/Editor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ public static bool ExportGradleProject()
150150 //copy the prebuild patch to the assets directory instead of downloading.
151151 string patchVersion1Zip = PROJECT_DIR + "/Assets/AndroidIl2cppPatchDemo/PrebuiltPatches/AllAndroidPatchFiles_Version1.zip" ;
152152 string patchVersion2Zip = PROJECT_DIR + "/Assets/AndroidIl2cppPatchDemo/PrebuiltPatches/AllAndroidPatchFiles_Version2.zip" ;
153- if ( File . Exists ( patchVersion1Zip ) ) { FileUtil . CopyFileOrDirectory ( patchVersion1Zip , EXPORTED_ASSETS_PATH + "/AllAndroidPatchFiles_Version1.zip" ) ; }
154- if ( File . Exists ( patchVersion2Zip ) ) { FileUtil . CopyFileOrDirectory ( patchVersion2Zip , EXPORTED_ASSETS_PATH + "/AllAndroidPatchFiles_Version2.zip" ) ; }
153+ if ( File . Exists ( patchVersion1Zip ) ) { FileUtil . MoveFileOrDirectory ( patchVersion1Zip , EXPORTED_ASSETS_PATH + "/AllAndroidPatchFiles_Version1.zip" ) ; }
154+ if ( File . Exists ( patchVersion2Zip ) ) { FileUtil . MoveFileOrDirectory ( patchVersion2Zip , EXPORTED_ASSETS_PATH + "/AllAndroidPatchFiles_Version2.zip" ) ; }
155155 return true ;
156156 }
157157
You can’t perform that action at this time.
0 commit comments