Skip to content

Commit

Permalink
试验性支持带图牌堆资源链接
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed Oct 25, 2023
1 parent 75b8aa5 commit a1b9ba0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion deck/AmberKeter/classic/__index.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
"version": "1",
"version_code": 1,
"desc": "包含密教模拟器中的共度余生结局分支与漫宿太阳报中的浓情蜜意的时节征文活动稿件。本牌堆数据来源于密教模拟器中文wiki与漫宿太阳报(QQ群号594585374)。",
"author": "AmberKeter"
"author": "AmberKeter",
"resource": [
"浓情蜜意的时节-带图版.zip"
]
},
"浓情蜜意的时节.json": {
"name": "浓情蜜意的时节",
Expand Down
6 changes: 5 additions & 1 deletion script/releaseDeck.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ def formatUTF8WithBOM(data:bytes):
'path': file_dir_path_real + deck_name_this,
'author': meta_info_data.get(deck_name_this, {}).get('author', deck_user_this),
'type': 'deck',
'sub_type': deck_type
'sub_type': deck_type,
'resource_link': [
parse.quote(f'https://extiverse-1253866028.cos.ap-shanghai.myqcloud.com/deck/{deck_user_this}/resource/{deck_resource_this}')
for deck_resource_this in meta_info_data.get(deck_name_this, {}).get('resource', [])
]
}
if 'yaml' == deck_type:
pass
Expand Down

0 comments on commit a1b9ba0

Please sign in to comment.