mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-23 13:54:04 +08:00
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")
|
||||
name := fullName
|
||||
identifier := fmt.Sprintf("ci.nn.%s", url.PathEscape(fullName))
|
||||
|
||||
if strings.Contains(fullName, "_") {
|
||||
ss := strings.Split(fullName, "_")
|
||||
name = strings.Join(ss[:len(ss)-1], "_")
|
||||
sep := "@"
|
||||
if strings.Contains(fullName, sep) {
|
||||
ss := strings.Split(fullName, sep)
|
||||
name = strings.Join(ss[:len(ss)-1], sep)
|
||||
identifier = ss[len(ss)-1]
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user