【打包】删除在打包时可以设置version内容的功能
parent
0fcff7b763
commit
4631e0cfcb
|
@ -67,11 +67,11 @@ namespace GameEditor.FrameTool {
|
|||
/// </summary>
|
||||
void InitGames()
|
||||
{
|
||||
version = new Version(Resources.Load<TextAsset>(VersionsFile).text);
|
||||
defaultVersion = version.GetInfo("version");
|
||||
subChannel = version.GetInfo("subChannel");
|
||||
serverUrl = version.GetInfo("serverUrl");
|
||||
resUrl = version.GetInfo("resUrl");
|
||||
//version = new Version(Resources.Load<TextAsset>(VersionsFile).text);
|
||||
//defaultVersion = version.GetInfo("version");
|
||||
//subChannel = version.GetInfo("subChannel");
|
||||
//serverUrl = version.GetInfo("serverUrl");
|
||||
//resUrl = version.GetInfo("resUrl");
|
||||
}
|
||||
|
||||
void OnGUI()
|
||||
|
@ -83,15 +83,15 @@ namespace GameEditor.FrameTool {
|
|||
EditorGUILayout.EndVertical();
|
||||
|
||||
isCopyABSToStreamingAssets = EditorGUILayout.BeginToggleGroup("拷贝AssetBundle到流媒体目录(打包到App包体内)", isCopyABSToStreamingAssets);
|
||||
if (isCopyABSToStreamingAssets)
|
||||
{
|
||||
EditorGUILayout.BeginVertical();
|
||||
defaultVersion = EditorGUILayout.TextField("Version", defaultVersion);
|
||||
subChannel = EditorGUILayout.TextField("SubChannel", subChannel);
|
||||
serverUrl = EditorGUILayout.TextField("ServerUrl", serverUrl);
|
||||
resUrl = EditorGUILayout.TextField("ResUrl", resUrl);
|
||||
EditorGUILayout.EndVertical();
|
||||
}
|
||||
//if (isCopyABSToStreamingAssets)
|
||||
//{
|
||||
// EditorGUILayout.BeginVertical();
|
||||
// defaultVersion = EditorGUILayout.TextField("Version", defaultVersion);
|
||||
// subChannel = EditorGUILayout.TextField("SubChannel", subChannel);
|
||||
// serverUrl = EditorGUILayout.TextField("ServerUrl", serverUrl);
|
||||
// resUrl = EditorGUILayout.TextField("ResUrl", resUrl);
|
||||
// EditorGUILayout.EndVertical();
|
||||
//}
|
||||
EditorGUILayout.EndToggleGroup();
|
||||
EditorGUILayout.Space();
|
||||
|
||||
|
@ -128,7 +128,7 @@ namespace GameEditor.FrameTool {
|
|||
File.Copy(exportPath + "/lzma/luabytes.unity3d", targetPath + "/lzma/luabytes.unity3d", true);
|
||||
File.Copy(exportPath + "/lzma/resconfigs.unity3d", targetPath + "/lzma/resconfigs.unity3d", true);
|
||||
File.Copy(exportPath + "/files.unity3d", targetPath + "/files.unity3d", true);
|
||||
SaveVersionFile();
|
||||
//SaveVersionFile();
|
||||
}
|
||||
Close();
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ namespace GameEditor.FrameTool {
|
|||
if (isCopyABSToStreamingAssets)
|
||||
{
|
||||
FrameTool.CopyAssetBundleToStreamingAssets();
|
||||
SaveVersionFile();
|
||||
//SaveVersionFile();
|
||||
}
|
||||
//是否BuildPlayer
|
||||
if (isBuildPlayer)
|
||||
|
|
Loading…
Reference in New Issue