Skip to content

Commit 06e8bb0

Browse files
committed
Disable "Not found config file" log for "demo" CAS ID.
1 parent ad0c3b7 commit 06e8bb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: Editor/CASPostGenerateGradle.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ private void AddCASConfigResources(string path, CASInitSettings initSettings)
317317
Debug.LogWarning(Utils.logTag + "Copy Config resources to Android Project failed: " + e.ToString());
318318
}
319319
}
320-
else
320+
else if (initSettings.GetManagerId(i) != "demo")
321321
{
322322
Utils.Log("Not found config file: " + cachePath);
323323
}

Diff for: Editor/CASPostprocessBuild.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ private static void AddCASConfigResources(this PBXProject project, string rootPa
310310
Debug.LogWarning(CASEditorUtils.logTag + "Copy Config resources to XCode Project failed: " + e.ToString());
311311
}
312312
}
313-
else
313+
else if (casSettings.GetManagerId(i) != "demo")
314314
{
315315
CASEditorUtils.Log("Not found config file: " + cachePath);
316316
}

0 commit comments

Comments
 (0)