//------------------------------------------------------------------------- void _changeDefaultProject(bool is_default) { CurrentProject.IsDefault = is_default; using (StreamWriter sw = new StreamWriter(mABTargetPathRoot + "/" + CurrentProject.BundleIdentify + "/" + GameCloudEditorInitProjectInfo.PROJECT_INFO_FILE_NAME)) { sw.Write(GameCloudEditorInitProjectInfo.getFormatProjectInfo(CurrentProject)); } }
static void AutoPatcher() { CreateInstance <GameCloudEditor>(); if (!Directory.Exists(mABTargetPathRoot) || Directory.GetDirectories(mABTargetPathRoot).Length == 0) { GameCloudEditorInitProjectInfo test = GetWindow <GameCloudEditorInitProjectInfo>("初始化项目信息"); test.copyPatchInfo(mABTargetPathRoot, mAssetPath + ABPathInfoResourceDirectory); return; } EditorWindow.GetWindow <GameCloudEditor>(); }
static void AutoPatcher() { _checkPath(); _initCurrentBuildTarget(); if (!Directory.Exists(mABTargetPath)) { GameCloudEditorInitProjectInfo test = GetWindow <GameCloudEditorInitProjectInfo>("初始化项目信息"); test.copyPatchInfo(mABTargetPath, mAssetPath + mABPathInfoResourceDirectory); return; } //GameCloudEditor dragon_pack = (GameCloudEditor)EditorWindow.GetWindow(typeof(GameCloudEditor)); _getCurrentTargetPath(); _checkPatchData(); mMD5 = new MD5CryptoServiceProvider(); mListNeedBuildPlatform = new List <BuildTarget>(); mQueueNeedBuildPlatform = new Queue <BuildTarget>(); }