This commit is contained in:
chenxi 2023-04-21 22:46:39 +08:00
parent 40b4ce4bf4
commit 25a1685a4b
5 changed files with 28 additions and 28 deletions

View File

@ -34,19 +34,19 @@ namespace BFEditor.Build
public bool IsGPChannel() public bool IsGPChannel()
{ {
return bundleName == "com.idle.ko.io"; return bundleName == "com.juzu.b6";
} }
public bool IsGPOfficial() public bool IsGPOfficial()
{ {
return bundleName == "com.idle.ko.io"; return bundleName == "com.juzu.b6";
} }
// dev包使用mono编译不会导出as工程 // dev包使用mono编译不会导出as工程
public bool IsDevChannel() public bool IsDevChannel()
{ {
return bundleName == "com.juzu.b5.dev" || bundleName == "com.juzu.b5.dev.android" || return bundleName == "com.juzu.b6.dev" || bundleName == "com.juzu.b6.dev.android" ||
bundleName == "com.juzu.b5.dev.ios"; bundleName == "com.juzu.b6.dev.ios";
} }
public bool IsReleaseChannel() public bool IsReleaseChannel()
@ -57,7 +57,7 @@ namespace BFEditor.Build
// 是否是内网release // 是否是内网release
public bool IsLanRelease() public bool IsLanRelease()
{ {
return bundleName == "com.juzu.b5.release.android" || bundleName == "com.juzu.b5.release.ios"; return bundleName == "com.juzu.b6.release.android" || bundleName == "com.juzu.b6.release.ios";
} }
public bool IsPublish() public bool IsPublish()

View File

@ -14,10 +14,10 @@ namespace BFEditor.Build
public class BuildProjectWindow : EditorWindow public class BuildProjectWindow : EditorWindow
{ {
BFPlatformOptions platform = BFPlatformOptions.AndroidDev; BFPlatformOptions platform = BFPlatformOptions.AndroidDev;
const string ANDROID_DEV_PACKAGE_NAME = "com.juzu.b5.dev.android"; const string ANDROID_DEV_PACKAGE_NAME = "com.juzu.b6.dev.android";
const string ANDROID_RELEASE_PACKAGE_NAME = "com.juzu.b5.release.android"; const string ANDROID_RELEASE_PACKAGE_NAME = "com.juzu.b6.release.android";
const string ANDROID_GP_PACKAGE_NAME = "com.idle.ko.io"; const string ANDROID_GP_PACKAGE_NAME = "com.juzu.b6";
const string IOS_PACKAGE_NAME = "com.juzu.b5.dev.ios"; const string IOS_PACKAGE_NAME = "com.juzu.b6.dev.ios";
public BuildProjectWindow() public BuildProjectWindow()
{ {

View File

@ -50,7 +50,7 @@ public class JenkinsAdapter {
var buildInfo = new BuildInfo(); var buildInfo = new BuildInfo();
buildInfo.version = "0.1.0"; buildInfo.version = "0.1.0";
buildInfo.mode = "publish_release"; buildInfo.mode = "publish_release";
buildInfo.bundleName = "com.idle.ko.io"; buildInfo.bundleName = "com.juzu.b6";
buildInfo.skipVersion = false; buildInfo.skipVersion = false;
BuildProjectTools.BuildResources(buildInfo, Application.streamingAssetsPath, true); BuildProjectTools.BuildResources(buildInfo, Application.streamingAssetsPath, true);

View File

@ -68,16 +68,16 @@ namespace BF
static Dictionary<string, string> BFLoginCenterURLDict = new Dictionary<string, string>() static Dictionary<string, string> BFLoginCenterURLDict = new Dictionary<string, string>()
{ {
// dev // dev
{"com.juzu.b5.dev", "http://game.juzugame.com:3000"}, {"com.juzu.b6.dev", "http://game.juzugame.com:3000"},
{"com.juzu.b5.dev.android", "http://game.juzugame.com:3000"}, {"com.juzu.b6.dev.android", "http://game.juzugame.com:3000"},
{"com.juzu.b5.dev.ios", "http://game.juzugame.com:3000"}, {"com.juzu.b6.dev.ios", "http://game.juzugame.com:3000"},
// release // release
{"com.juzu.b5.release.android", "http://game.juzugame.com:3000"}, {"com.juzu.b6.release.android", "http://game.juzugame.com:3000"},
{"com.juzu.b5.release.ios", "http://game.juzugame.com:3000"}, {"com.juzu.b6.release.ios", "http://game.juzugame.com:3000"},
// gp // gp
{"com.idle.ko.io", "https://b5-entrance.bigfoot-studio.link"}, {"com.juzu.b6", "https://b5-entrance.bigfoot-studio.link"},
}; };
//combine url解析的数据 //combine url解析的数据
@ -260,9 +260,9 @@ namespace BF
/// </summary> /// </summary>
public static bool IsDevChannel() public static bool IsDevChannel()
{ {
return Identifier == "com.juzu.b5.dev" || return Identifier == "com.juzu.b6.dev" ||
Identifier == "com.juzu.b5.dev.android" || Identifier == "com.juzu.b6.dev.android" ||
Identifier == "com.juzu.b5.dev.ios"; Identifier == "com.juzu.b6.dev.ios";
} }
/// <summary> /// <summary>
@ -270,8 +270,8 @@ namespace BF
/// </summary> /// </summary>
public static bool IsReleaseChannel() public static bool IsReleaseChannel()
{ {
return Identifier == "com.juzu.b5.release.android" || return Identifier == "com.juzu.b6.release.android" ||
Identifier == "com.juzu.b5.release.ios"; Identifier == "com.juzu.b6.release.ios";
} }
/// <summary> /// <summary>

View File

@ -42,14 +42,14 @@ namespace BF
// 渠道对应的语言配置 // 渠道对应的语言配置
public static Dictionary<string, BFLanguageInfo> languageInfos = new Dictionary<string, BFLanguageInfo>() public static Dictionary<string, BFLanguageInfo> languageInfos = new Dictionary<string, BFLanguageInfo>()
{ {
{"com.juzu.b5.dev", new BFLanguageInfo(new List<string>{"en", "cn", "zh", "th", "ru", "id", "vi"})}, {"com.juzu.b6.dev", new BFLanguageInfo(new List<string>{"en", "cn", "zh", "th", "ru", "id", "vi"})},
{"com.juzu.b5.dev.android", new BFLanguageInfo(new List<string>{"en", "cn", "zh", "th", "ru", "id", "vi"})}, {"com.juzu.b6.dev.android", new BFLanguageInfo(new List<string>{"en", "cn", "zh", "th", "ru", "id", "vi"})},
{"com.juzu.b5.dev.ios", new BFLanguageInfo(new List<string>{"en", "cn"})}, {"com.juzu.b6.dev.ios", new BFLanguageInfo(new List<string>{"en", "cn"})},
{"com.juzu.b5.release.android", new BFLanguageInfo(new List<string>{"en"})}, {"com.juzu.b6.release.android", new BFLanguageInfo(new List<string>{"en"})},
{"com.juzu.b5.release.ios", new BFLanguageInfo(new List<string>{"en"})}, {"com.juzu.b6.release.ios", new BFLanguageInfo(new List<string>{"en"})},
// 这个是gp渠道 // 这个是gp渠道
{"com.idle.ko.io", new BFLanguageInfo(new List<string>{"en", "cn", "zh", "th", "ru", "id", "vi"})}, {"com.juzu.b6", new BFLanguageInfo(new List<string>{"en", "cn", "zh", "th", "ru", "id", "vi"})},
{"com.juzu.b5.ios", new BFLanguageInfo(new List<string>{"en"})}, {"com.juzu.b6.ios", new BFLanguageInfo(new List<string>{"en"})},
}; };
public static BFLanguageInfo GetLanguageInfo(string identifier) public static BFLanguageInfo GetLanguageInfo(string identifier)