public static void BuildStandaloneRes() { FileUtilTool.CopyFile("IOS_Build/appleversion.dat", Application.streamingAssetsPath + "/appleversion.dat"); Version v = BuildTool.versionRes; Version.SaveVersion2StreamingAsset(v); BuildTool.SwitchActiveBuildTarget(BuildTarget.StandaloneWindows64); ResTool.BuildLocalRes(); }
public static void BuildIOSRes() { //AndroidOneKeyTool.UpdateStreaming(); FileUtilTool.CopyFile("IOS_Build/appleversion.dat", Application.streamingAssetsPath + "/appleversion.dat"); Version v = BuildTool.versionRes; //v.UpgradeLittleVersion(); Version.SaveVersion2StreamingAsset(v); //AndroidOneKeyTool.CallShellCommandForVersionRes(); BuildTool.SwitchActiveBuildTarget(BuildTarget.iOS); ResTool.BuildLocalRes(); }