Installer honkai-impact-3rd-a1
该脚本仅供阅读,不能直接用来在Wine游戏助手中安装游戏。
要通过命令安装游戏,请下载完整脚本。
安装命令:/opt/apps/net.winegame.client/files/bin/winegame -i ./xxx.json
comments: - '国内用户提示: 若下载失败请尝试切换代理设置' - 首次启动可能需要较长时间初始化,请耐心等待 - 需要安装WebView组件才能显示登录界面 - '项目主页: https://github.com/an-anime-team/honkers-launcher' config: disable_runtime: false environment: LANG: zh_CN.UTF-8 LANGUAGE: zh_CN:zh LC_ALL: zh_CN.UTF-8 exe: $GAMEDIR/honkers-launcher game_options: args: '' prefix: $GAMEDIR system_options: terminal: true wine: version: system working_dir: $GAMEDIR game: description: 崩坏系列游戏启动器 | 由An Anime Team维护 name: Honkers Launcher (崩坏启动器) platform: PC runner: linux slug: honkers-launcher version: 1.10.2 year: 2024 installer: - task: arch: create_prefix name: 创建游戏目录 - download: allow_insecure: false dest: $GAMEDIR disable_cache: true filename: honkers-launcher url: https://github.com/an-anime-team/honkers-launcher/releases/download/1.10.2/honkers-launcher - task: chmodx: true executable: $GAMEDIR/honkers-launcher name: 授予执行权限 - task: create_shortcut: executable: $GAMEDIR/honkers-launcher icon: honkers-launcher name: 崩坏启动器 name: 添加桌面快捷方式 - execute: arch: host command: $GAMEDIR/honkers-launcher name: 首次运行配置 terminal: true working_dir: $GAMEDIR requirements: - check: command: curl --version name: curl optional: false type: tool - check: description: WebView组件(可选但推荐) name: libwebkit2gtk-4.0-37 optional: true type: library - check: description: 系统托盘支持 name: libappindicator3-1 optional: true type: library variables: GAMEDIR: $HOME/Games/honkers-launcher
{ "comments": [ "\u56fd\u5185\u7528\u6237\u63d0\u793a: \u82e5\u4e0b\u8f7d\u5931\u8d25\u8bf7\u5c1d\u8bd5\u5207\u6362\u4ee3\u7406\u8bbe\u7f6e", "\u9996\u6b21\u542f\u52a8\u53ef\u80fd\u9700\u8981\u8f83\u957f\u65f6\u95f4\u521d\u59cb\u5316\uff0c\u8bf7\u8010\u5fc3\u7b49\u5f85", "\u9700\u8981\u5b89\u88c5WebView\u7ec4\u4ef6\u624d\u80fd\u663e\u793a\u767b\u5f55\u754c\u9762", "\u9879\u76ee\u4e3b\u9875: https://github.com/an-anime-team/honkers-launcher" ], "config": { "disable_runtime": false, "environment": { "LANG": "zh_CN.UTF-8", "LANGUAGE": "zh_CN:zh", "LC_ALL": "zh_CN.UTF-8" }, "exe": "$GAMEDIR/honkers-launcher", "game_options": { "args": "", "prefix": "$GAMEDIR" }, "system_options": { "terminal": true }, "wine": { "version": "system" }, "working_dir": "$GAMEDIR" }, "game": { "description": "\u5d29\u574f\u7cfb\u5217\u6e38\u620f\u542f\u52a8\u5668 | \u7531An Anime Team\u7ef4\u62a4", "name": "Honkers Launcher (\u5d29\u574f\u542f\u52a8\u5668)", "platform": "PC", "runner": "linux", "slug": "honkers-launcher", "version": "1.10.2", "year": 2024 }, "installer": [ { "task": { "arch": "create_prefix", "name": "\u521b\u5efa\u6e38\u620f\u76ee\u5f55" } }, { "download": { "allow_insecure": false, "dest": "$GAMEDIR", "disable_cache": true, "filename": "honkers-launcher", "url": "https://github.com/an-anime-team/honkers-launcher/releases/download/1.10.2/honkers-launcher" } }, { "task": { "chmodx": true, "executable": "$GAMEDIR/honkers-launcher", "name": "\u6388\u4e88\u6267\u884c\u6743\u9650" } }, { "task": { "create_shortcut": { "executable": "$GAMEDIR/honkers-launcher", "icon": "honkers-launcher", "name": "\u5d29\u574f\u542f\u52a8\u5668" }, "name": "\u6dfb\u52a0\u684c\u9762\u5feb\u6377\u65b9\u5f0f" } }, { "execute": { "arch": "host", "command": "$GAMEDIR/honkers-launcher", "name": "\u9996\u6b21\u8fd0\u884c\u914d\u7f6e", "terminal": true, "working_dir": "$GAMEDIR" } } ], "requirements": [ { "check": { "command": "curl --version", "name": "curl", "optional": false, "type": "tool" } }, { "check": { "description": "WebView\u7ec4\u4ef6(\u53ef\u9009\u4f46\u63a8\u8350)", "name": "libwebkit2gtk-4.0-37", "optional": true, "type": "library" } }, { "check": { "description": "\u7cfb\u7edf\u6258\u76d8\u652f\u6301", "name": "libappindicator3-1", "optional": true, "type": "library" } } ], "variables": { "GAMEDIR": "$HOME/Games/honkers-launcher" } }