Package Details: heroic-games-launcher 2.17.2-1

Git Clone URL: https://aur.archlinux.org/heroic-games-launcher.git (read-only, click to copy)
Package Base: heroic-games-launcher
Description: Native GOG, Epic Games and Amazon games launcher for Linux
Upstream URL: https://heroicgameslauncher.com/
Licenses: GPL-3.0-only
Submitter: FabioLolix
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 30
Popularity: 1.81
First Submitted: 2022-07-18 20:20 (UTC)
Last Updated: 2025-07-01 21:33 (UTC)

Pinned Comments

FabioLolix commented on 2025-07-28 22:34 (UTC)

  • The pkgbuild is hosted at https://github.com/FabioLolix/PKGBUILD-AUR_fix

  • Upstream isn't interested with problems with heroic-games-launcher or heroic-games-launcher-git so don't report them right away; retry with heroic-games-launcher-bin

Latest Comments

1 2 3 4 5 Next › Last »

yochananmarqos commented on 2025-07-29 00:41 (UTC)

@FabioLolix: 2.18.0 builds just fine with Node.js 22. ;)

FabioLolix commented on 2025-07-28 22:37 (UTC)

Updated locally but fails to build because can't download a file

Done downloading EpicGamesLauncher for win32 x64
[stdin]:20471
    throw Error(`Failed to download ${url}: ${response.status}`);
          ^

Error: Failed to download https://github.com/imLinguin/nile/releases/download/v1.1.2/nile_linux_x86_64: 503
    at downloadFile ([stdin]:20471:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async downloadAsset ([stdin]:20482:3)
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async Promise.all (index 2)
    at async main ([stdin]:20642:3)

Node.js v24.4.1
 ELIFECYCLE  Command failed with exit code 1.

FabioLolix commented on 2025-07-28 22:34 (UTC)

  • The pkgbuild is hosted at https://github.com/FabioLolix/PKGBUILD-AUR_fix

  • Upstream isn't interested with problems with heroic-games-launcher or heroic-games-launcher-git so don't report them right away; retry with heroic-games-launcher-bin

chrrybmb commented on 2025-07-14 06:48 (UTC) (edited on 2025-07-14 06:49 (UTC) by chrrybmb)

This should use electron36, Heroic switched to it in 2.17.0

FabioLolix commented on 2025-05-04 17:29 (UTC)

@friday13 that network related problem with https://npm.fontawesome.com/ retry, for me worked fine now

friday13 commented on 2025-05-04 16:41 (UTC)

Error

Cloning into 'HeroicGamesLauncher'...
done.
Switched to a new branch 'makepkg'
==> Sources are ready.
==> Making package: heroic-games-launcher 2.16.1-1 (Paz 04 May 2025 19:39:57)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
 WARN  deprecated @playwright/test@1.42.1: Please update to the latest version of Playwright to test up-to-date browsers.
 WARN  deprecated react-beautiful-dnd@13.1.1: react-beautiful-dnd is now deprecated. Context and options: https://github.com/atlassian/react-beautiful-dnd/issues/2672
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Ffontawesome-svg-core error (ETIMEDOUT). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Ffree-brands-svg-icons error (ETIMEDOUT). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Ffree-regular-svg-icons error (ETIMEDOUT). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Ffree-solid-svg-icons error (ETIMEDOUT). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Freact-fontawesome error (ETIMEDOUT). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Ffontawesome-svg-core error (ETIMEDOUT). Will retry in 1 minute. 1 retries left.
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Ffree-brands-svg-icons error (ETIMEDOUT). Will retry in 1 minute. 1 retries left.
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Ffree-regular-svg-icons error (ETIMEDOUT). Will retry in 1 minute. 1 retries left.
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Ffree-solid-svg-icons error (ETIMEDOUT). Will retry in 1 minute. 1 retries left.
 WARN  GET https://npm.fontawesome.com/@fortawesome%2Freact-fontawesome error (ETIMEDOUT). Will retry in 1 minute. 1 retries left.
 ERR_PNPM_META_FETCH_FAIL  GET https://npm.fontawesome.com/@fortawesome%2Ffontawesome-svg-core: request to https://npm.fontawesome.com/@fortawesome%2Ffontawesome-svg-core failed, reason: 

This error happened while installing a direct dependency of /home/friday13/.cache/yay/heroic-games-launcher/src/HeroicGamesLauncher
Progress: resolved 98, reused 0, downloaded 0, added 0
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: heroic-games-launcher-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
heroic-games-launcher - exit status 4

tiziodcaio commented on 2025-04-15 07:31 (UTC)

I had issues with corepacker; with this patch it worked.

# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix

pkgname=heroic-games-launcher
pkgver=2.16.1
pkgrel=1
pkgdesc="Native GOG, Epic Games and Amazon games launcher for Linux"
arch=(x86_64)
url="https://heroicgameslauncher.com/"
license=(GPL-3.0-only)
_electron=electron31
depends=(which $_electron zlib gcc-libs glibc)
makedepends=(git pnpm npm python desktop-file-utils)
source=("git+https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git#tag=v${pkgver}")
sha256sums=('d83a38acf365c6ceb3fb2dacca38b79f7b0f4ccf0929b5c25a260d073297614f')

build() {
  cd HeroicGamesLauncher
  # HOME="${srcdir}/.electron-gyp" pnpm install

  pnpm run download-helper-binaries
  npx electron-vite build
  npx electron-builder --linux --x64 --dir -c.electronDist=/usr/lib/$_electron/ -c.electronVersion=$(cat /usr/lib/$_electron/version)
}

package() {
  cd "HeroicGamesLauncher"
  install -d "${pkgdir}/usr/lib/heroic"
  cp -rf dist/linux-unpacked/resources/app.asar{,.unpacked} "${pkgdir}/usr/lib/heroic/"
  rm -rf "${pkgdir}"/usr/lib/heroic/app.asar.unpacked/build/bin/x64/win32
  rm -rf "${pkgdir}"/usr/lib/heroic/app.asar.unpacked/build/bin/arm64
  install -Dm755 /dev/stdin "${pkgdir}/usr/bin/heroic" <<EOF
#!/usr/bin/bash
exec $_electron /usr/lib/heroic/app.asar "\$@"
EOF

  install -Dm644 flatpak/com.heroicgameslauncher.hgl.png -t "${pkgdir}/usr/share/pixmaps"
  install -Dm644 flatpak/templates/com.heroicgameslauncher.hgl.metainfo.xml.template "${pkgdir}"/usr/share/metainfo/com.heroicgameslauncher.hgl.metainfo.xml

  # fix icon on Gnome dock
  desktop-file-edit --set-key=Exec --set-value="heroic %U" --set-key=StartupWMClass --set-value=heroic flatpak/com.heroicgameslauncher.hgl.desktop
  install -Dm644 flatpak/com.heroicgameslauncher.hgl.desktop -t "${pkgdir}/usr/share/applications"
}

FabioLolix commented on 2025-03-02 14:00 (UTC)

@robindegen this is heroic-games-launcher not heroic-games-launcher-bin

anewson commented on 2025-02-26 16:12 (UTC)

newer electron version are not fully backwards compatible; heroic is currently using electron31, using electron34 introduced this bug: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/4357

using the binary package resolves this