mirror of https://github.com/Xhofe/alist
🚧 fix bundle-identifier
parent
a6e08f3bf4
commit
5be976169f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue