update:删除多余内容
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"keystoreName": "bamboogame.keystore",
|
|
||||||
"keyaliasName": "fishing",
|
|
||||||
"applicationIdentifier":"com.arkgame.ft",
|
|
||||||
"companyName":"Ark Game Limited (香港)",
|
|
||||||
"productName":"Fishing Travel"
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"keystoreName": "fishcn.keystore",
|
|
||||||
"keyaliasName": "fishcn",
|
|
||||||
"applicationIdentifier":"com.fishinggame.cn",
|
|
||||||
"companyName":"Ark Game Limited (香港)",
|
|
||||||
"productName":"Fishing Travel"
|
|
||||||
}
|
|
||||||
Binary file not shown.
Reference in New Issue
Block a user