Fix github action build

This commit is contained in:
cxfksword
2022-10-11 19:06:08 +08:00
parent 334c0df4fe
commit 861fec9da8
3 changed files with 9 additions and 2 deletions

View File

@@ -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"

View File

@@ -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)

View File

@@ -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": []
}
]