代码拉取完成,页面将自动刷新
同步操作将从 仁畅网络科技/XUnityDeploy 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# require 3rd lib
require 'yaml'
require 'json'
require 'fileutils'
require 'pathname'
#untiy project path
UnityProjectPath = Pathname.new(File.dirname(__FILE__)).join("../../").cleanpath
#deploy unity path,
DeployProjectPath = File.join(UnityProjectPath, "XUnityDeploy")
#deploy config file path
ConfigPath = File.join(UnityProjectPath, "XUnityDeploy_configs")
#deploy build path
BuildPath = File.join(DeployProjectPath, "builds")
#deploy logs path
LogPath = File.join(DeployProjectPath, "logs")
#deploy tools path
ToolPath = File.join(DeployProjectPath, "tools")
# require XUnityDeploy Scripts
require File.expand_path(File.join(DeployProjectPath, "utils/optparse"))
require File.expand_path(File.join(DeployProjectPath, "utils/logger"))
require File.expand_path(File.join(DeployProjectPath, "utils/file_extend"))
require File.expand_path(File.join(DeployProjectPath, "utils/string_extend"))
require File.expand_path(File.join(DeployProjectPath, "utils/unity_cmd"))
require File.expand_path(File.join(DeployProjectPath, "utils/xcode_cmd"))
require File.expand_path(File.join(DeployProjectPath, "utils/svn_cmd"))
require File.expand_path(File.join(DeployProjectPath, "utils/git_cmd"))
require File.expand_path(File.join(DeployProjectPath, "utils/anysdk_cmd"))
require File.expand_path(File.join(DeployProjectPath, "utils/bearychat_cmd"))
require File.expand_path(File.join(DeployProjectPath, "unitys/unity"))
module XUnityDeploy
module Utils
extend self
# load config yml files
def load_config name
path = File.join(DeployConfig, name + ".yml")
return YAML::load(File.open(path))
end
end
def version
"1.0"
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。