Skip to content

Commit

Permalink
适配1.1
Browse files Browse the repository at this point in the history
增加一个兑换cdk的小玩具
增加效率统计
增加2号位艾莲特化,可以快1秒(并无卵用)
  • Loading branch information
bamboo98 committed Aug 14, 2024
1 parent ad27d8a commit 1b8c424
Show file tree
Hide file tree
Showing 12 changed files with 420 additions and 135 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@ jobs:
run: |
move dist\ZZZ_Copilot.exe .
- name: Get current commit ID
run: |
echo %GITHUB_SHA% > version
- name: Create zip file
run: |
powershell Compress-Archive -Path ZZZ_Copilot.exe, assets -DestinationPath ZZZ_Copilot.zip
powershell Compress-Archive -Path ZZZ_Copilot.exe, assets, version -DestinationPath ZZZ_Copilot.zip
- name: Create Release
id: create_release
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions assets/resource/base/pipeline/cdk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{

"兑换码已被使用": {
"recognition": "OCR",
"roi": [
527,
427.5,
230,
41
],
"expected": "[兑换码已被使用]{6,}",
"timeout": 1000
},
"兑换成功": {
"recognition": "OCR",
"roi": [
527,
427.5,
230,
41
],
"expected": "[兑换成功请稍后前往邮箱领取]{6,}",
"timeout": 1000
},
"兑换码同类型": {
"recognition": "OCR",
"roi": [
527,
427.5,
230,
41
],
"expected": "[已使用过同类型兑换码]{6,}",
"timeout": 1000
},
"兑换码无效": {
"recognition": "OCR",
"roi": [
527,
427.5,
230,
41
],
"expected": "[无效的兑换码]{4,}",
"timeout": 1000
},
"清除文本": {
"recognition": "TemplateMatch",
"roi": [
777,
320,
123,
122
],
"template": "CDK_clear__827_370_23_22__777_320_123_122.png",
"action": "Click",
"timeout": 1000
},
"输入文本": {
"action": "Custom",
"custom_action": "py_input"
},
"点击确认兑换": {
"recognition": "TemplateMatch",
"roi": [
623,
468.5,
107,
78
],
"template": "CDK_confirm__663_503_29_22__613_453_129_122.png",
"action": "Click",
"timeout": 6000
},
"选中输入框": {
"action": "Click",
"target": [
585,
370,
69,
21
]
}
}
Loading

0 comments on commit 1b8c424

Please sign in to comment.