Package Details: heroic-games-launcher 2.16.1-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: 28
Popularity: 0.52
First Submitted: 2022-07-18 20:20 (UTC)
Last Updated: 2025-03-23 21:51 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

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

smendez commented on 2025-01-20 01:19 (UTC)

@FabioLolix Thank you

FabioLolix commented on 2025-01-19 21:54 (UTC)

@smendez fixed

smendez commented on 2025-01-19 20:14 (UTC) (edited on 2025-01-19 20:19 (UTC) by smendez)

When I run (as an example):

xdg-open heroic://launch/gog/1482265668

I get this error:

kf.kio.core: "/usr/share/applications/com.heroicgameslauncher.hgl.desktop" contains supported protocols but doesn't use %u or %U in its Exec line! This is inconsistent.

If I edit the file and add %u it works of course, but it seems like the package should do this. This wasn't happening before which indicates that its probably a recently introduced requirement for KDE. Maybe adding %u will break it for other systems, so I am not sure what would be the appropriate fix.

Edit: It looks like the %U was there before and recent changes to the package broke this.