Skip to content

Commit f8835a5

Browse files
committed
更新CI
1 parent 3fb9403 commit f8835a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.cake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Task("Generate AppxManifest")
143143
content = content
144144
.Replace("Snap Hutao Remastered", "Snap Hutao Remastered Alpha")
145145
.Replace("胡桃重制版", "胡桃重制版 Alpha")
146-
.Replace("SnapHutaoRemasteringProject", "SnapHutaoRemasteringProject CI");
146+
//.Replace("SnapHutaoRemasteringProject", "SnapHutaoRemasteringProject CI");
147147
content = System.Text.RegularExpressions.Regex.Replace(content, " Name=\"([^\"]*)\"", " Name=\"7f0db578-026f-4e0b-a75b-d5d06bb0a74c\"");
148148
}
149149
else if (GitHubActions.Environment.Workflow.Workflow == "Snap Hutao Remastered Canary")
@@ -152,15 +152,15 @@ Task("Generate AppxManifest")
152152
content = content
153153
.Replace("Snap Hutao Remastered", "Snap Hutao Remastered Canary")
154154
.Replace("胡桃重制版", "胡桃重制版 Canary")
155-
.Replace("SnapHutaoRemasteringProject", "SnapHutaoRemasteringProject CI");
155+
//.Replace("SnapHutaoRemasteringProject", "SnapHutaoRemasteringProject CI");
156156
content = System.Text.RegularExpressions.Regex.Replace(content, " Name=\"([^\"]*)\"", " Name=\"52127695-c6a7-406e-916a-693b905e8ba7\"");
157157
}
158158
else
159159
{
160160
throw new Exception("Unsupported workflow.");
161161
}
162162

163-
content = System.Text.RegularExpressions.Regex.Replace(content, " Publisher=\"([^\"]*)\"", " Publisher=\"E=admin@dgp-studio.cn, CN=SnapHutaoRemasteringProject CI, OU=CI, O=DGP-Studio, L=San Jose, S=CA, C=US\"");
163+
content = System.Text.RegularExpressions.Regex.Replace(content, " Publisher=\"([^\"]*)\"", " Publisher=\"CN=SnapHutaoRemasteringProject CI\"");
164164
content = System.Text.RegularExpressions.Regex.Replace(content, " Version=\"([0-9\\.]+)\"", $" Version=\"{version}\"");
165165
}
166166
else if (AppVeyor.IsRunningOnAppVeyor)

0 commit comments

Comments
 (0)