From d4d8252725281bf90d19622da61bd92dec237b31 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 22 九月 2026 19:11:55 +0800
Subject: [PATCH] merge3

---
 Assets/Editor/Tool/ExportVersionConfigEx.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Assets/Editor/Tool/ExportVersionConfigEx.cs b/Assets/Editor/Tool/ExportVersionConfigEx.cs
index 5615e9b..370d71f 100644
--- a/Assets/Editor/Tool/ExportVersionConfigEx.cs
+++ b/Assets/Editor/Tool/ExportVersionConfigEx.cs
@@ -20,7 +20,7 @@
         SyncVersionConfigEx();
     }
 
-    public static bool SyncVersionConfigEx()
+    public static bool SyncVersionConfigEx(bool applyRestoreTest = true)
     {
         var versionConfig = AssetDatabase.LoadAssetAtPath<VersionConfig>(VersionConfigAssetPath);
         if (versionConfig == null)
@@ -30,7 +30,7 @@
         }
 
         VersionConfig.config = versionConfig;
-        if (LocalSave.GetBool("RestoreTest"))
+        if (applyRestoreTest && LocalSave.GetBool("RestoreTest"))
         {
             versionConfig.m_AppId = "test";
             LocalSave.SetBool("RestoreTest", false);

--
Gitblit v1.8.0