Heroic Games Launcher 下载及安装教程
1、项目介绍
Heroic Games Launcher 是一个开源的游戏启动器,支持 Linux、Windows 和 macOS 平台。它能够启动来自 Epic Games Store、GOG 和 Amazon Games 的游戏。Heroic Games Launcher 使用 Web 技术构建,支持多种功能,如登录 Epic Games、GOG 或 Amazon 账户,安装、卸载、更新和修复游戏,以及导入已安装的游戏等。
2、项目下载位置
你可以通过以下链接访问 Heroic Games Launcher 的 GitHub 仓库进行下载:
Heroic Games Launcher GitHub 仓库
3、项目安装环境配置
Linux 环境配置
使用 Flatpak 安装
Heroic Games Launcher 可以通过 Flathub 安装。大多数 Linux 发行版都可以通过软件中心(如 Pop!_Shop、Discover 等)轻松安装。
手动安装依赖
如果你不使用 Flatpak 版本,请确保安装了所有 Wine 依赖:
sudo apt-get install wine
Windows 环境配置
Windows 10 和 11 用户可以直接通过 WinGet 安装:
winget install Heroic
macOS 环境配置
macOS 用户可以通过 Homebrew 安装:
brew install --cask --no-quarantine heroic
4、项目安装方式
Linux 安装
使用 Flatpak 安装
flatpak install flathub com.heroicgameslauncher.hgl
使用 deb 包安装
下载 .deb
文件并双击安装,或使用命令行安装:
sudo dpkg -i heroic_*_amd64.deb
Windows 安装
下载 Heroic Installer 或便携版,运行安装程序:
.\Heroic-x.x.x-Setup.exe
macOS 安装
下载 .dmg
文件,双击挂载,然后将 "Heroic" 应用程序拖到 "Applications" 文件夹中。
5、项目处理脚本
构建 Heroic Games Launcher
克隆仓库
git clone https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git --recurse-submodules
cd HeroicGamesLauncher
安装依赖
pnpm install
构建二进制文件
根据你的操作系统选择相应的命令:
-
Linux:
pnpm dist:linux
-
Windows:
pnpm dist:win
-
macOS:
pnpm dist:mac
通过以上步骤,你可以成功下载并安装 Heroic Games Launcher,并根据需要进行构建和测试。