瀏覽代碼

打包推送工具

hexiaojie 4 月之前
父節點
當前提交
8a1f534961

+ 33 - 0
BuildPush/cwRsync_5.5.0_x86_Free/README.cwrsync.txt

@@ -0,0 +1,33 @@
+cwRsync 5.5.0 Free - Rsync for Windows
+December 2015, provided by Itefix - https://www.itefix.net/cwrsync
+
+This archive contains a barebone distribution of Rsync for Windows.
+
+Unzip archive contents to a directory, update the supplied batch file
+cwrsync.cmd. That's all you need to be able to start rsync from a
+command line.
+
+NB! In the case you run into -meaningless- permission issues, please
+consult our FAQ
+https://www.itefix.net/content/permissions-filesdirectories-are-clutteredmixed
+
+cwRsync FAQs can also be helpful - https://www.itefix.net/faq/cwrsync
+
+We provide a paid version of cwRsync. Please consider purchasing if you want to:
+
+- use Rsync via a GUI
+- setup an Rsync server on Windows
+- use Secure Channel Wizard for secure tunnelling with the best performance
+- access to Rsync patched with time-limit, transliteration, ignore-case
+  or no strict check of password file permissions
+- use 64-bit distributions
+
+See https://www.itefix.net/cwrsync for more information.
+
+ENJOY RSYNC!!
+
+Version information:
+Rsync 3.1.2
+Cygwin 2.3.1
+OpenSSH 7.1p
+OpenSSL 1.0.2e

+ 140 - 0
BuildPush/cwRsync_5.5.0_x86_Free/README.rsync.txt

@@ -0,0 +1,140 @@
+WHAT IS RSYNC?
+--------------
+
+Rsync is a fast and extraordinarily versatile file copying tool for
+both remote and local files.
+
+Rsync uses a delta-transfer algorithm which provides a very fast method
+for bringing remote files into sync.  It does this by sending just the
+differences in the files across the link, without requiring that both
+sets of files are present at one of the ends of the link beforehand.  At
+first glance this may seem impossible because the calculation of diffs
+between two files normally requires local access to both files.
+
+A technical report describing the rsync algorithm is included with this
+package.
+
+
+USAGE
+-----
+
+Basically you use rsync just like scp, but rsync has many additional
+options.  To get a complete list of supported options type:
+
+    rsync --help
+
+See the manpage for more detailed information.
+
+
+SETUP
+-----
+
+Rsync normally uses ssh or rsh for communication with remote systems.
+It does not need to be setuid and requires no special privileges for
+installation.  You must, however, have a working ssh or rsh system.
+Using ssh is recommended for its security features.
+
+Alternatively, rsync can run in `daemon' mode, listening on a socket.
+This is generally used for public file distribution, although
+authentication and access control are available.
+
+To install rsync, first run the "configure" script.  This will create a
+Makefile and config.h appropriate for your system.  Then type "make".
+
+Note that on some systems you will have to force configure not to use
+gcc because gcc may not support some features (such as 64 bit file
+offsets) that your system may support.  Set the environment variable CC
+to the name of your native compiler before running configure in this
+case.
+
+Once built put a copy of rsync in your search path on the local and
+remote systems (or use "make install").  That's it!
+
+
+RSYNC DAEMONS
+-------------
+
+Rsync can also talk to "rsync daemons" which can provide anonymous or
+authenticated rsync.  See the rsyncd.conf(5) man page for details on how
+to setup an rsync daemon.  See the rsync(1) man page for info on how to
+connect to an rsync daemon.
+
+
+WEB SITE
+--------
+
+The main rsync web site is here:
+
+    http://rsync.samba.org/
+
+You'll find a FAQ list, downloads, resources, HTML versions of the
+manpages, etc.
+
+
+MAILING LISTS
+-------------
+
+There is a mailing list for the discussion of rsync and its applications
+that is open to anyone to join.  New releases are announced on this
+list, and there is also an announcement-only mailing list for those that
+want official announcements.  See the mailing-list page for full
+details:
+
+    http://rsync.samba.org/lists.html
+
+
+BUG REPORTS
+-----------
+
+To visit this web page for full the details on bug reporting:
+
+    http://rsync.samba.org/bugzilla.html
+
+That page contains links to the current bug list, and information on how
+to report a bug well.  You might also like to try searching the Internet
+for the error message you've received, or looking in the mailing list
+archives at:
+
+    http://mail-archive.com/rsync@lists.samba.org/
+
+To send a bug report, follow the instructions on the bug-tracking
+page of the web site.
+
+Alternately, email your bug report to rsync@lists.samba.org .
+
+
+GIT REPOSITORY
+--------------
+
+If you want to get the very latest version of rsync direct from the
+source code repository then you can use git:
+
+    git clone git://git.samba.org/rsync.git
+
+See the download page for full details on all the ways to grab the
+source, including nightly tar files, web-browsing of the git repository,
+etc.:
+
+    http://rsync.samba.org/download.html
+
+
+COPYRIGHT
+---------
+
+Rsync was originally written by Andrew Tridgell and is currently
+maintained by Wayne Davison.   It has been improved by many developers
+from around the world.
+
+Rsync may be used, modified and redistributed only under the terms of
+the GNU General Public License, found in the file COPYING in this
+distribution, or at:
+
+    http://www.fsf.org/licenses/gpl.html
+
+
+AVAILABILITY
+------------
+
+The main web site for rsync is http://rsync.samba.org/
+The main ftp site is ftp://rsync.samba.org/pub/rsync/
+This is also available as rsync://rsync.samba.org/rsyncftp/

二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/cygcrypto-1.0.0.dll


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/cyggcc_s-1.dll


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/cygiconv-2.dll


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/cygintl-8.dll


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/cygpopt-0.dll


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/cygssp-0.dll


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/cygwin1.dll


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/cygz.dll


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/rsync.exe


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/ssh-keygen.exe


二進制
BuildPush/cwRsync_5.5.0_x86_Free/bin/ssh.exe


+ 46 - 0
BuildPush/cwRsync_5.5.0_x86_Free/cwrsync.cmd

@@ -0,0 +1,46 @@
+@ECHO OFF
+REM *****************************************************************
+REM
+REM CWRSYNC.CMD - Batch file template to start your rsync command (s).
+REM
+REM *****************************************************************
+
+REM Make environment variable changes local to this batch file
+SETLOCAL
+
+REM Specify where to find rsync and related files
+REM Default value is the directory of this batch file
+SET CWRSYNCHOME=%~dp0
+
+REM Create a home directory for .ssh 
+IF NOT EXIST %CWRSYNCHOME%\home\%USERNAME%\.ssh MKDIR %CWRSYNCHOME%\home\%USERNAME%\.ssh
+
+REM Make cwRsync home as a part of system PATH to find required DLLs
+SET CWOLDPATH=%PATH%
+SET PATH=%CWRSYNCHOME%\bin;%PATH%
+
+REM Windows paths may contain a colon (:) as a part of drive designation and 
+REM backslashes (example c:\, g:\). However, in rsync syntax, a colon in a 
+REM path means searching for a remote host. Solution: use absolute path 'a la unix', 
+REM replace backslashes (\) with slashes (/) and put -/cygdrive/- in front of the 
+REM drive letter:
+REM 
+REM Example : C:\WORK\* --> /cygdrive/c/work/*
+REM 
+REM Example 1 - rsync recursively to a unix server with an openssh server :
+REM
+REM       rsync -r /cygdrive/c/work/ remotehost:/home/user/work/
+REM
+REM Example 2 - Local rsync recursively 
+REM
+REM       rsync -r /cygdrive/c/work/ /cygdrive/d/work/doc/
+REM
+REM Example 3 - rsync to an rsync server recursively :
+REM    (Double colons?? YES!!)
+REM
+REM       rsync -r /cygdrive/c/doc/ remotehost::module/doc
+REM
+REM Rsync is a very powerful tool. Please look at documentation for other options. 
+REM
+
+REM ** CUSTOMIZE ** Enter your rsync command(s) here

+ 1 - 0
BuildPush/gfg.pass

@@ -0,0 +1 @@
+a8g1g68ko1v12sd

+ 65 - 0
BuildPush/pushWebGl.bat

@@ -0,0 +1,65 @@
+@echo off
+chcp 65001 >nul
+
+setlocal
+
+:: 设置变量
+set SCRIPT_DIR=%~dp0
+set WEBGL_DIR=%SCRIPT_DIR%webgl\
+set PASSWORD_FILE=%SCRIPT_DIR%gfg.pass
+set RSYNC_EXE=%SCRIPT_DIR%cwRsync_5.5.0_x86_Free\bin\rsync.exe
+set RSYNC_SERVER=gfg@43.139.184.240::webglpush
+set PORT=8873
+
+:: 检查必要文件
+if not exist "%WEBGL_DIR%" (
+    echo Error: webgl folder not found!
+    pause
+    exit /b 1
+)
+
+if not exist "%PASSWORD_FILE%" (
+    echo Error: gfg.pass file not found!
+    pause
+    exit /b 1
+)
+
+if not exist "%RSYNC_EXE%" (
+    echo Error: rsync.exe not found!
+    pause
+    exit /b 1
+)
+
+:: 读取密码文件内容
+set /p RSYNC_PASSWORD=<"%PASSWORD_FILE%"
+set RSYNC_PASSWORD=%RSYNC_PASSWORD: =%
+
+:: 设置环境变量(rsync 会读取 RSYNC_PASSWORD 环境变量)
+set RSYNC_PASSWORD=%RSYNC_PASSWORD%
+
+:: 转换Windows路径为Cygwin路径格式
+set CYGWIN_WEBGL_DIR=/cygdrive/%WEBGL_DIR:~0,1%/%WEBGL_DIR:~3%
+set CYGWIN_PASSWORD_FILE=/cygdrive/%PASSWORD_FILE:~0,1%/%PASSWORD_FILE:~3%
+
+:: 替换反斜杠为正斜杠
+set CYGWIN_WEBGL_DIR=%CYGWIN_WEBGL_DIR:\=/%
+set CYGWIN_PASSWORD_FILE=%CYGWIN_PASSWORD_FILE:\=/%
+
+:: 执行同步
+echo Pushing webgl to server...
+echo Using port: %PORT%
+echo Using target: %RSYNC_SERVER%
+echo Using webgl dir: %CYGWIN_WEBGL_DIR%
+echo Using password file: %CYGWIN_PASSWORD_FILE%
+
+"%RSYNC_EXE%" -avzP --port=%PORT% "%CYGWIN_WEBGL_DIR%" "%RSYNC_SERVER%" --password-file="%CYGWIN_PASSWORD_FILE%"
+
+if %errorlevel% equ 0 (
+    echo Success: Sync completed!
+) else (
+    echo Error: Sync failed with code %errorlevel%
+)
+
+:: 清理环境变量
+set RSYNC_PASSWORD=
+pause

+ 0 - 0
BuildPush/webgl/test.txt


+ 2 - 2
GameClient/ProjectSettings/ProjectSettings.asset

@@ -769,7 +769,7 @@ PlayerSettings:
   blurSplashScreenBackground: 0
   spritePackerPolicy: 
   webGLMemorySize: 32
-  webGLExceptionSupport: 0
+  webGLExceptionSupport: 3
   webGLNameFilesAsHashes: 0
   webGLShowDiagnostics: 0
   webGLDataCaching: 1
@@ -785,7 +785,7 @@ PlayerSettings:
   webGLThreadsSupport: 0
   webGLDecompressionFallback: 0
   webGLInitialMemorySize: 32
-  webGLMaximumMemorySize: 2048
+  webGLMaximumMemorySize: 4096
   webGLMemoryGrowthMode: 2
   webGLMemoryLinearGrowthStep: 16
   webGLMemoryGeometricGrowthStep: 0.2