chore: replace sep _
with @
of ipa name
This commit is contained in:
parent
6c89c6c8ae
commit
f80be96cf9
@ -42,10 +42,10 @@ func Plist(c *gin.Context) {
|
|||||||
fullName = strings.TrimSuffix(fullName, ".plist")
|
fullName = strings.TrimSuffix(fullName, ".plist")
|
||||||
name := fullName
|
name := fullName
|
||||||
identifier := fmt.Sprintf("ci.nn.%s", url.PathEscape(fullName))
|
identifier := fmt.Sprintf("ci.nn.%s", url.PathEscape(fullName))
|
||||||
|
sep := "@"
|
||||||
if strings.Contains(fullName, "_") {
|
if strings.Contains(fullName, sep) {
|
||||||
ss := strings.Split(fullName, "_")
|
ss := strings.Split(fullName, sep)
|
||||||
name = strings.Join(ss[:len(ss)-1], "_")
|
name = strings.Join(ss[:len(ss)-1], sep)
|
||||||
identifier = ss[len(ss)-1]
|
identifier = ss[len(ss)-1]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user