Merge branch 'dev_20230815' of http://git.juzugame.com/b6-client/b6-unity into dev_20230815
This commit is contained in:
commit
72d11545e3
@ -114,6 +114,7 @@ public class Package {
|
|||||||
|
|
||||||
// 编辑plist 文件
|
// 编辑plist 文件
|
||||||
EditorPlist(Path.GetFullPath(pathToBuiltProject));
|
EditorPlist(Path.GetFullPath(pathToBuiltProject));
|
||||||
|
CopyDirectory(path + "/BFVersions/ios/ios_common", Path.GetFullPath(pathToBuiltProject), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void EditorPlist(string filePath) {
|
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 {
|
public partial class XClassExt : System.IDisposable {
|
||||||
|
|
||||||
private string filePath;
|
private string filePath;
|
||||||
|
|||||||
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "Knights Combo";
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "ナイト戦線";
|
||||||
9
BFVersions/ios/ios_common/en.lproj/InfoPlist.strings
Normal file
9
BFVersions/ios/ios_common/en.lproj/InfoPlist.strings
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "Knights Combo";
|
||||||
9
BFVersions/ios/ios_common/es.lproj/InfoPlist.strings
Normal file
9
BFVersions/ios/ios_common/es.lproj/InfoPlist.strings
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "Combo de Jinetes";
|
||||||
9
BFVersions/ios/ios_common/id.lproj/InfoPlist.strings
Normal file
9
BFVersions/ios/ios_common/id.lproj/InfoPlist.strings
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "Ksatria Kombo";
|
||||||
9
BFVersions/ios/ios_common/ko.lproj/InfoPlist.strings
Normal file
9
BFVersions/ios/ios_common/ko.lproj/InfoPlist.strings
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "워리어 콤보";
|
||||||
9
BFVersions/ios/ios_common/pt.lproj/InfoPlist.strings
Normal file
9
BFVersions/ios/ios_common/pt.lproj/InfoPlist.strings
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "Cavaleiros do Combo";
|
||||||
9
BFVersions/ios/ios_common/th.lproj/InfoPlist.strings
Normal file
9
BFVersions/ios/ios_common/th.lproj/InfoPlist.strings
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "อัศวินคอมโบ";
|
||||||
9
BFVersions/ios/ios_common/vi.lproj/InfoPlist.strings
Normal file
9
BFVersions/ios/ios_common/vi.lproj/InfoPlist.strings
Normal 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";
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "赛赛军团";
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
InfoPlist.strings
|
||||||
|
Unity-iPhone
|
||||||
|
|
||||||
|
Created by BigFoot on 8/14/23.
|
||||||
|
|
||||||
|
*/
|
||||||
|
// CFBundleDisplayName是App在当前语言环境环境下显示的名称
|
||||||
|
CFBundleDisplayName = "賽賽軍團";
|
||||||
Loading…
x
Reference in New Issue
Block a user