mirror of
https://github.com/cxfksword/jellyfin-plugin-danmu.git
synced 2026-04-23 18:12:00 +08:00
Fix github action build
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
name: "Danmu"
|
||||
guid: "5B39DA44-5314-4940-8E26-54C821C17F86"
|
||||
imageUrl: https://raw.githubusercontent.com/cxfksword/jellyfin-plugin-danmu/main/doc/logo.png
|
||||
imageUrl: https://github.com/cxfksword/jellyfin-plugin-danmu/raw/main/doc/logo.png
|
||||
version: "1.0.0.0"
|
||||
targetAbi: "10.8.0.0"
|
||||
framework: "net6.0"
|
||||
|
||||
@@ -49,4 +49,11 @@ os.system('jprm repo add --url=%s %s %s' % (jellyfin_repo_url, jellyfin_repo_fil
|
||||
|
||||
os.system('sed -i "s/\/danmu\//\/%s\//" %s' % (git_version, jellyfin_repo_file))
|
||||
|
||||
|
||||
# 国内加速
|
||||
jellyfin_repo_file_cn = jellyfin_repo_file.replace(".json", "_cn.json")
|
||||
os.system('cp -f %s %s' % (jellyfin_repo_file, jellyfin_repo_file_cn))
|
||||
os.system('sed "s/github.com/ghproxy.com\/https:\/\/github.com/g" "%s"' % (jellyfin_repo_file_cn))
|
||||
|
||||
|
||||
print(version)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"overview": "jellyfin\u5f39\u5e55\u4e0b\u8f7d\u63d2\u4ef6",
|
||||
"owner": "cxfksword",
|
||||
"category": "Metadata",
|
||||
"imageUrl": "https://raw.githubusercontent.com/cxfksword/jellyfin-plugin-danmu/main/doc/logo.png",
|
||||
"imageUrl": "https://github.com/cxfksword/jellyfin-plugin-danmu/raw/main/doc/logo.png",
|
||||
"versions": []
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user