hexiaojie 9 месяцев назад
Родитель
Сommit
f8770761ea
3 измененных файлов с 0 добавлено и 97 удалено
  1. 0 57
      build2.bat
  2. 0 32
      build_log.txt
  3. 0 8
      update_res.sh

+ 0 - 57
build2.bat

@@ -1,57 +0,0 @@
-@echo off
-:: =============================================
-:: Unity WebGL Build Script
-:: For Unity 2020.3.33f1c2
-:: =============================================
-
-:: Configuration (Edit these paths)
-set UNITY_PATH=E:\ruanJian\2020.3.33f1c2\Editor\Unity.exe
-set PROJECT_PATH=D:\gfgProject\gfg_dev\0A-GFGClient\5client_webgl\GameClient
-set BUILD_PATH=Build\WebGL
-set LOG_FILE=build_log.txt
-
-:: Clear old log
-if exist "%LOG_FILE%" del "%LOG_FILE%"
-
-:: Verify Unity path
-if not exist "%UNITY_PATH%" (
-    echo [ERROR] Unity executable not found at: %UNITY_PATH%
-    pause
-    exit /b 1
-)
-
-:: Verify project path
-if not exist "%PROJECT_PATH%\Assets" (
-    echo [ERROR] Invalid project path: %PROJECT_PATH%
-    pause
-    exit /b 1
-)
-
-:: Start build process
-echo Starting Unity WebGL build...
-echo Project Path: %PROJECT_PATH%
-echo Output Directory: %BUILD_PATH%
-echo Log File: %LOG_FILE%
-echo.
-
-"%UNITY_PATH%" ^
-  -projectPath "%PROJECT_PATH%" ^
-  -buildTarget WebGL ^
-  -webgl-incremental-build 1 ^
-  -executeMethod WebGLBuilder.Build ^
-  -logFile "%LOG_FILE%" ^
-  -quit
-
-:: Check build result
-if %errorlevel% equ 0 (
-    echo.
-    echo [SUCCESS] WebGL build completed!
-    echo Output Directory: %PROJECT_PATH%\%BUILD_PATH%
-) else (
-    echo.
-    echo [ERROR] Build failed! Check log: %LOG_FILE%
-)
-
-:: Open log file
-notepad "%LOG_FILE%"
-pause

+ 0 - 32
build_log.txt

@@ -1,32 +0,0 @@
-[LicensingClient] Error: Code 10 while verifying Licensing Client signature (process Id: 23888, path: "E:/ruanJian/Unity Hub/UnityLicensingClient_V1/Unity.Licensing.Client.exe")
-[Licensing::Module] Error: LicensingClient has failed validation
-[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-admin-2020.3.33" (connect: 0.00s, validation: 0.01s, handshake: 11.25s)
-Entitlement-based licensing initiated
-[LicensingClient] Licenses updated successfully
-
-LICENSE SYSTEM [2025416 0:47:23] Next license update check is after 2025-04-16T16:00:28
-
-
-LICENSE SYSTEM [2025416 0:47:23] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored).
-Built from '2020.3/china_unity/release' branch; Version is '2020.3.33f1c2 (8e753a737e7b) revision 9336122'; Using compiler version '192528614'; Build Type 'Release'
-OS: 'Unknown Windows version  (6.2.9200) 64bit Professional' Language: 'zh' Physical Memory: 65271 MB
-[Licensing::Module] Serial number assigned to: "F4-67W3-YHGC-49BB-QWKC-XXXX"
-BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
-[Package Manager] Server::Start -- Port 53527 was selected
-
-COMMAND LINE ARGUMENTS:
-E:\ruanJian\2020.3.33f1c2\Editor\Unity.exe
--projectPath
-D:\gfgProject\gfg_dev\0A-GFGClient\5client_webgl\GameClient
--buildTarget
-WebGL
--webgl-incremental-build
-1
--executeMethod
-WebGLBuilder.Build
--logFile
-build_log.txt
--quit
-Successfully changed project path to: D:\gfgProject\gfg_dev\0A-GFGClient\5client_webgl\GameClient
-D:/gfgProject/gfg_dev/0A-GFGClient/5client_webgl/GameClient
-Exiting without the bug reporter. Application will terminate with return code 0

+ 0 - 8
update_res.sh

@@ -1,8 +0,0 @@
-git fetch
-git pull
-cd GameClient/Assets/Game/CSShare
-git fetch
-git pull
-cd ../../../../
-cd GameClient/Assets/Res
-svn update