Skip to content

Commit 9f2c3d5

Browse files
ous50Calinou
andauthored
maaend-beta: Add version 2.25.0-rc.1, add ARM64 support to maaend (#1796)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
1 parent 204affb commit 9f2c3d5

2 files changed

Lines changed: 70 additions & 0 deletions

File tree

bucket/maaend-beta.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"version": "2.25.0-rc.1",
3+
"description": "High-precision automation assistant. Designed for heavy-duty operations and maximum efficiency in Arknights: Endfield.",
4+
"homepage": "https://github.com/MaaEnd/MaaEnd",
5+
"license": "AGPL-3.0",
6+
"pre_install": [
7+
"if (Test-Path \"$(appdir maaend)\") {",
8+
" error 'MaaEnd is already installed. You are trying to install/update MaaEnd-Beta.';",
9+
" throw 'Abort'",
10+
"} else { if ($cmd -eq 'update') {",
11+
" Start-Process powershell -ArgumentList '-NoProfile -Command Stop-Process -Name \"MaaEnd\" -Force' -Verb RunAs -WindowStyle Hidden -Wait",
12+
" };",
13+
"}"
14+
],
15+
"pre_uninstall": "Start-Process powershell -ArgumentList '-NoProfile -Command Stop-Process -Name \"MaaEnd\" -Force' -Verb RunAs -WindowStyle Hidden",
16+
"architecture": {
17+
"64bit": {
18+
"url": "https://github.com/MaaEnd/MaaEnd/releases/download/v2.25.0-rc.1/MaaEnd-win-x86_64-v2.25.0-rc.1.zip",
19+
"hash": "e78b3c908f92ec1bf04adbdedb4f20f4a631295a50608eed2d732c61b765ab8b"
20+
},
21+
"arm64": {
22+
"url": "https://github.com/MaaEnd/MaaEnd/releases/download/v2.25.0-rc.1/MaaEnd-win-aarch64-v2.25.0-rc.1.zip",
23+
"hash": "5e497f5af7c513f73f7eb0e2c9f59f6de9ebfe2e58d413c45f2d3afce653c4f0"
24+
}
25+
},
26+
"bin": "MaaEnd.exe",
27+
"shortcuts": [
28+
[
29+
"MaaEnd.exe",
30+
"MaaEnd"
31+
]
32+
],
33+
"persist": [
34+
"cache",
35+
"config",
36+
"debug"
37+
],
38+
"checkver": {
39+
"url": "https://api.github.com/repos/MaaEnd/MaaEnd/releases",
40+
"jsonpath": "$[?(@.prerelease == true)].tag_name",
41+
"regex": "(?!v)([\\w.-]+)"
42+
},
43+
"autoupdate": {
44+
"architecture": {
45+
"64bit": {
46+
"url": "https://github.com/MaaEnd/MaaEnd/releases/download/v$version/MaaEnd-win-x86_64-v$version.zip"
47+
},
48+
"arm64": {
49+
"url": "https://github.com/MaaEnd/MaaEnd/releases/download/v$version/MaaEnd-win-aarch64-v$version.zip"
50+
}
51+
}
52+
}
53+
}

bucket/maaend.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,24 @@
33
"description": "High-precision automation assistant. Designed for heavy-duty operations and maximum efficiency in Arknights: Endfield.",
44
"homepage": "https://github.com/MaaEnd/MaaEnd",
55
"license": "AGPL-3.0",
6+
"pre_install": [
7+
"if (Test-Path \"$(appdir maaend-beta)\") {",
8+
" error 'MaaEnd-Beta is already installed. You are trying to install/update MaaEnd.';",
9+
" throw 'Abort'",
10+
"} else { if ($cmd -eq 'update') {",
11+
" Start-Process powershell -ArgumentList '-NoProfile -Command Stop-Process -Name \"MaaEnd\" -Force' -Verb RunAs -WindowStyle Hidden -Wait",
12+
" };",
13+
"}"
14+
],
15+
"pre_uninstall": "Start-Process powershell -ArgumentList '-NoProfile -Command Stop-Process -Name \"MaaEnd\" -Force' -Verb RunAs -WindowStyle Hidden",
616
"architecture": {
717
"64bit": {
818
"url": "https://github.com/MaaEnd/MaaEnd/releases/download/v2.23.0/MaaEnd-win-x86_64-v2.23.0.zip",
919
"hash": "19c1a7464c224b56cfa5a0342e25ab911aa517ad0717e125ea9de248e31a27ac"
20+
},
21+
"arm64": {
22+
"url": "https://github.com/MaaEnd/MaaEnd/releases/download/v2.23.0/MaaEnd-win-aarch64-v2.23.0.zip",
23+
"hash": "540b2874208944c7d6f6de077611b70ca6a354fdbaf5c23cef1e0c3d5d4563d9"
1024
}
1125
},
1226
"bin": "MaaEnd.exe",
@@ -26,6 +40,9 @@
2640
"architecture": {
2741
"64bit": {
2842
"url": "https://github.com/MaaEnd/MaaEnd/releases/download/v$version/MaaEnd-win-x86_64-v$version.zip"
43+
},
44+
"arm64": {
45+
"url": "https://github.com/MaaEnd/MaaEnd/releases/download/v$version/MaaEnd-win-aarch64-v$version.zip"
2946
}
3047
}
3148
}

0 commit comments

Comments
 (0)