Merge branch 'dev_20230815' of http://git.juzugame.com/b6-client/b6-unity into dev_20230815

This commit is contained in:
xy_tu 2023-08-14 22:05:30 +08:00
commit 72d11545e3
12 changed files with 132 additions and 0 deletions

View File

@ -114,6 +114,7 @@ public class Package {
// 编辑plist 文件
EditorPlist(Path.GetFullPath(pathToBuiltProject));
CopyDirectory(path + "/BFVersions/ios/ios_common", Path.GetFullPath(pathToBuiltProject), true);
}
private static void EditorPlist(string filePath) {
@ -757,6 +758,38 @@ public class Package {
}
}
static void CopyDirectory(string sourceDir, string destinationDir, bool recursive) {
// Get information about the source directory
var dir = new DirectoryInfo(sourceDir);
// Check if the source directory exists
if (!dir.Exists)
throw new DirectoryNotFoundException($"Source directory not found: {dir.FullName}");
// Cache directories before we start copying
DirectoryInfo[] dirs = dir.GetDirectories();
// Create the destination directory
Directory.CreateDirectory(destinationDir);
// Get the files in the source directory and copy to the destination directory
foreach (FileInfo file in dir.GetFiles())
{
string targetFilePath = Path.Combine(destinationDir, file.Name);
file.CopyTo(targetFilePath);
}
// If recursive and copying subdirectories, recursively call this method
if (recursive)
{
foreach (DirectoryInfo subDir in dirs)
{
string newDestinationDir = Path.Combine(destinationDir, subDir.Name);
CopyDirectory(subDir.FullName, newDestinationDir, true);
}
}
}
public partial class XClassExt : System.IDisposable {
private string filePath;

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "Knights Combo";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "ナイト戦線";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "Knights Combo";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "Combo de Jinetes";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "Ksatria Kombo";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "워리어 콤보";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "Cavaleiros do Combo";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "อัศวินคอมโบ";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "Kỵ Sĩ Liên Hoàn";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "赛赛军团";

View File

@ -0,0 +1,9 @@
/*
InfoPlist.strings
Unity-iPhone
Created by BigFoot on 8/14/23.
*/
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
CFBundleDisplayName = "賽賽軍團";