🚧 fix bundle-identifier

pull/661/head
Xhofe 2022-02-17 00:44:30 +08:00
parent a6e08f3bf4
commit 5be976169f
1 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ func Plist(c *gin.Context) {
<key>metadata</key> <key>metadata</key>
<dict> <dict>
<key>bundle-identifier</key> <key>bundle-identifier</key>
<string>ci.nn.alist-doc</string> <string>ci.nn.%s</string>
<key>bundle-version</key> <key>bundle-version</key>
<string>1</string> <string>1.0.0</string>
<key>kind</key> <key>kind</key>
<string>software</string> <string>software</string>
<key>title</key> <key>title</key>
@ -53,7 +53,7 @@ func Plist(c *gin.Context) {
</dict> </dict>
</array> </array>
</dict> </dict>
</plist>`, u, name) </plist>`, u, name, name)
c.Status(200) c.Status(200)
c.Header("Content-Type", "application/xml;charset=utf-8") c.Header("Content-Type", "application/xml;charset=utf-8")
_, _ = c.Writer.WriteString(plist) _, _ = c.Writer.WriteString(plist)