update:删除多余内容

This commit is contained in:
2026-04-27 18:28:37 +08:00
parent 121e70b758
commit 0f4a9583f1
5 changed files with 8 additions and 23 deletions

View File

@@ -24,16 +24,15 @@ public static class ProjectAutoSetting
static void OnAndroid() static void OnAndroid()
{ {
string path = "./KeyStore/android.json"; //自己的路径 // string path = "./KeyStore/android.json"; //自己的路径
string jsonContent = File.ReadAllText(path); // 读取 JSON 文件内容 // string jsonContent = File.ReadAllText(path); // 读取 JSON 文件内容
if (!string.IsNullOrEmpty(jsonContent)) // if (!string.IsNullOrEmpty(jsonContent))
{ // {
AndroidJson dynamicObject = JsonUtility.FromJson<AndroidJson>(jsonContent); // AndroidJson dynamicObject = JsonUtility.FromJson<AndroidJson>(jsonContent);
PlayerSettings.Android.useCustomKeystore = false; // PlayerSettings.Android.useCustomKeystore = false;
} // }
PlayerSettings.Android.useCustomKeystore = false;
string outPath = "./" + PlayerSettings.productName + "_" + System.DateTime.Now.ToString("yyyyMMddHHmm"); string outPath = "./" + PlayerSettings.productName + "_" + System.DateTime.Now.ToString("yyyyMMddHHmm");
EditorUserBuildSettings.SetBuildLocation(BuildTarget.Android, outPath); EditorUserBuildSettings.SetBuildLocation(BuildTarget.Android, outPath);
} }

View File

@@ -1,7 +0,0 @@
{
"keystoreName": "bamboogame.keystore",
"keyaliasName": "fishing",
"applicationIdentifier":"com.arkgame.ft",
"companyName":"Ark Game Limited (香港)",
"productName":"Fishing Travel"
}

Binary file not shown.

View File

@@ -1,7 +0,0 @@
{
"keystoreName": "fishcn.keystore",
"keyaliasName": "fishcn",
"applicationIdentifier":"com.fishinggame.cn",
"companyName":"Ark Game Limited (香港)",
"productName":"Fishing Travel"
}

Binary file not shown.