Skip to content

Commit 5b350a8

Browse files
committed
feat(bucket): 添加 AionUi 应用的 scoop 安装配置文件
添加 AionUi 的 JSON 配置文件,包含版本信息、下载链接、安装卸载脚本等 支持 64 位和 ARM64 架构,并配置自动更新功能
1 parent 205407c commit 5b350a8

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

bucket/AionUi.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"version": "1.6.8",
3+
"description": "一款免费、本地化、开源的图形用户界面应用,适用于 Gemini CLI、Claude Code、Codex、Qwen Code 等 | Free, local, open-source GUI app for Gemini CLI, Claude Code, Codex, Qwen Code, and more.",
4+
"homepage": "https://github.com/iOfficeAI/AionUi",
5+
"license": {
6+
"identifier": "Apache-2.0",
7+
"url": "https://github.com/iOfficeAI/AionUi/blob/main/LICENSE"
8+
},
9+
"architecture": {
10+
"64bit": {
11+
"url": "https://github.com/iOfficeAI/AionUi/releases/download/v1.6.8/AionUi-1.6.8-win-x64.exe",
12+
"hash": "5a8698e25d763fa5cf85af70ce929dfac8db589530579d7fe8d9bc4dcf75c09a"
13+
},
14+
"arm64": {
15+
"url": "https://github.com/iOfficeAI/AionUi/releases/download/v1.6.8/AionUi-1.6.8-win-arm64.exe",
16+
"hash": "950389a4617a14074842466ae6531977511f8a097e751e952251388a26995c32"
17+
}
18+
},
19+
"shortcuts": [
20+
[
21+
"app\\AionUi.exe",
22+
"AionUi"
23+
]
24+
],
25+
"pre_install": [
26+
"$bucket = if ($bucket) { $bucket } else { (scoop config).'abgox-abyss-bucket-name' }",
27+
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
28+
"A-Start-Install",
29+
"A-New-LinkDirectory \"$env:AppData\\AionUi\"",
30+
"A-Install-Exe -Uninstaller 'app\\Uninstall AionUi.exe'"
31+
],
32+
"post_install": [
33+
"$bucket = if ($bucket) { $bucket } else { (scoop config).'abgox-abyss-bucket-name' }",
34+
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
35+
"A-Complete-Install"
36+
],
37+
"pre_uninstall": [
38+
"$bucket = if ($bucket) { $bucket } else { (scoop config).'abgox-abyss-bucket-name' }",
39+
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
40+
"A-Start-Uninstall",
41+
"A-Stop-Process",
42+
"A-Remove-Link",
43+
"A-Uninstall-Exe",
44+
"A-Remove-TempData \"$env:LocalAppData\\aionui-updater\""
45+
],
46+
"post_uninstall": [
47+
"$bucket = if ($bucket) { $bucket } else { (scoop config).'abgox-abyss-bucket-name' }",
48+
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
49+
"A-Complete-Uninstall"
50+
],
51+
"checkver": {
52+
"script": [
53+
". \"$pwd\\bin\\utils.ps1\"",
54+
"A-Get-VersionFromGithubAPI"
55+
],
56+
"regex": "(.+)"
57+
},
58+
"autoupdate": {
59+
"architecture": {
60+
"64bit": {
61+
"url": "https://github.com/iOfficeAI/AionUi/releases/download/v$version/AionUi-$version-win-x64.exe"
62+
},
63+
"arm64": {
64+
"url": "https://github.com/iOfficeAI/AionUi/releases/download/v$version/AionUi-$version-win-arm64.exe"
65+
}
66+
},
67+
"hash": {
68+
"mode": "github"
69+
}
70+
}
71+
}

0 commit comments

Comments
 (0)