feat: update achievement binary , update tds user get func
parent
7ef21d0ebd
commit
5d7885152e
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3e681f29e007e4e93b460de6b4b728d6
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,40 @@
|
||||||
|
using System.IO;
|
||||||
|
using TapTap.Common.Editor;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEditor.Callbacks;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace TapTap.Login.Editor
|
||||||
|
{
|
||||||
|
public static class TapLoginIOSProcessor
|
||||||
|
{
|
||||||
|
// 添加标签,unity导出工程后自动执行该函数
|
||||||
|
[PostProcessBuild(103)]
|
||||||
|
public static void OnPostprocessBuild(BuildTarget buildTarget, string path)
|
||||||
|
{
|
||||||
|
if (buildTarget != BuildTarget.iOS) return;
|
||||||
|
|
||||||
|
// 获得工程路径
|
||||||
|
var projPath = TapCommonCompile.GetProjPath(path);
|
||||||
|
var proj = TapCommonCompile.ParseProjPath(projPath);
|
||||||
|
var target = TapCommonCompile.GetUnityTarget(proj);
|
||||||
|
|
||||||
|
if (TapCommonCompile.CheckTarget(target))
|
||||||
|
{
|
||||||
|
Debug.LogError("Unity-iPhone is NUll");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var parentFolder = Directory.GetParent(Application.dataPath)?.FullName;
|
||||||
|
var plistFile = TapFileHelper.RecursionFilterFile(parentFolder + "/Assets/Plugins/", "TDS-Info.plist");
|
||||||
|
|
||||||
|
if (!plistFile.Exists)
|
||||||
|
{
|
||||||
|
Debug.LogError("TapSDK Can't find TDS-Info.plist in Project/Assets/Plugins/!");
|
||||||
|
}
|
||||||
|
|
||||||
|
TapCommonCompile.HandlerPlist(path, plistFile.FullName);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 543a4c42d7c774f1cb7a7b18b19c6c5f
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"name": "TapTap.Login.Editor",
|
||||||
|
"references": [
|
||||||
|
"TapTap.Common.Editor"
|
||||||
|
],
|
||||||
|
"optionalUnityReferences": [],
|
||||||
|
"includePlatforms": [
|
||||||
|
"Editor"
|
||||||
|
],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": []
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4a4f5a2aa7ce743a1a54c06fc9e913e6
|
||||||
|
AssemblyDefinitionImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue