Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
F
First_FKQCW
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
First_FKQCW
Commits
2b59975b
Commit
2b59975b
authored
May 20, 2021
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
替换提现商店图片
parent
05dc1a60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
24 deletions
+24
-24
BuildPostProcessor.cs
Assets/AdSDK/Editor/BuildPostProcessor.cs
+24
-24
提现商店.png
Assets/Game/Main/Resource/top/提现商店.png
+0
-0
No files found.
Assets/AdSDK/Editor/BuildPostProcessor.cs
View file @
2b59975b
...
@@ -15,40 +15,40 @@ using System.IO;
...
@@ -15,40 +15,40 @@ using System.IO;
using
UnityEngine
;
using
UnityEngine
;
using
UnityEditor
;
using
UnityEditor
;
using
UnityEditor.Callbacks
;
using
UnityEditor.Callbacks
;
using
UnityEditor.iOS.Xcode
;
//
using UnityEditor.iOS.Xcode;
public
class
BuildPostProcessor
public
class
BuildPostProcessor
{
{
[
PostProcessBuildAttribute
(
1
)]
//
[PostProcessBuildAttribute(1)]
public
static
void
OnPostProcessBuild
(
BuildTarget
target
,
string
path
)
//
public static void OnPostProcessBuild(BuildTarget target, string path)
{
//
{
if
(
target
==
BuildTarget
.
iOS
)
//
if (target == BuildTarget.iOS)
{
//
{
// Read.
//
// Read.
string
projectPath
=
PBXProject
.
GetPBXProjectPath
(
path
);
//
string projectPath = PBXProject.GetPBXProjectPath(path);
PBXProject
project
=
new
PBXProject
();
//
PBXProject project = new PBXProject();
project
.
ReadFromString
(
File
.
ReadAllText
(
projectPath
));
//
project.ReadFromString(File.ReadAllText(projectPath));
string
targetName
=
project
.
GetUnityMainTargetGuid
();
//
string targetName = project.GetUnityMainTargetGuid();
string
targetGUID
=
project
.
TargetGuidByName
(
targetName
);
//
string targetGUID = project.TargetGuidByName(targetName);
AddFrameworks
(
project
,
targetGUID
);
//
AddFrameworks(project, targetGUID);
// Write.
//
// Write.
File
.
WriteAllText
(
projectPath
,
project
.
WriteToString
());
//
File.WriteAllText(projectPath, project.WriteToString());
}
//
}
}
//
}
static
void
AddFrameworks
(
PBXProject
project
,
string
targetGUID
)
//
static void AddFrameworks(PBXProject project, string targetGUID)
{
//
{
// Frameworks
//
// Frameworks
project
.
AddFrameworkToProject
(
targetGUID
,
"libz.dylib"
,
false
);
//
project.AddFrameworkToProject(targetGUID, "libz.dylib", false);
project
.
AddFrameworkToProject
(
targetGUID
,
"libsqlite3.tbd"
,
false
);
//
project.AddFrameworkToProject(targetGUID, "libsqlite3.tbd", false);
project
.
AddFrameworkToProject
(
targetGUID
,
"CoreTelephony.framework"
,
false
);
//
project.AddFrameworkToProject(targetGUID, "CoreTelephony.framework", false);
}
//
}
}
}
\ No newline at end of file
Assets/Game/Main/Resource/top/提现商店.png
View replaced file @
05dc1a60
View file @
2b59975b
29.1 KB
|
W:
|
H:
28.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment