heroic-unwrapped: 2.20.1 -> 2.21.0

This commit is contained in:
Keenan Weaver
2026-04-22 17:28:07 -05:00
parent e340af68e5
commit 5a4bd9ef2d
+5 -6
View File
@@ -12,7 +12,7 @@
makeWrapper,
# Electron updates can break Heroic, so try to use same version as upstream.
# If the used electron version is higher than upstream's then the node-abi package might need to be updated
electron_39,
electron,
vulkan-helper,
gogdl,
nile,
@@ -22,7 +22,6 @@
let
pnpm = pnpm_10_29_2;
electron = electron_39;
legendary = callPackage ./legendary.nix { };
epic-integration = callPackage ./epic-integration.nix { };
@@ -30,13 +29,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "heroic-unwrapped";
version = "2.20.1";
version = "2.21.0";
src = fetchFromGitHub {
owner = "Heroic-Games-Launcher";
repo = "HeroicGamesLauncher";
tag = "v${finalAttrs.version}";
hash = "sha256-nXDQxctzXI/kB6o1ShhrhiloWnpYObG66nMAwxijFto=";
hash = "sha256-rgLmm9krjPYjSn/wGAYbnFw7kqvuu9IBipb4ibOClOw=";
};
pnpmDeps = fetchPnpmDeps {
@@ -48,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
;
inherit pnpm;
fetcherVersion = 3;
hash = "sha256-3SkCLoH4ZQzKZIdCkWOfBHt83vjxbpTpMvhMZPCysyI=";
hash = "sha256-O3QQsk8pvF9U5QvuMebCsy/iYz1oZIMkPeMtWohqW3w=";
};
nativeBuildInputs = [
@@ -120,7 +119,7 @@ stdenv.mkDerivation (finalAttrs: {
install -D "flatpak/com.heroicgameslauncher.hgl.desktop" "$out/share/applications/com.heroicgameslauncher.hgl.desktop"
install -D "src/frontend/assets/heroic-icon.svg" "$out/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg"
substituteInPlace "$out/share/applications/com.heroicgameslauncher.hgl.desktop" \
--replace-fail "Exec=heroic-run --ozone-platform-hint=auto" "Exec=heroic"
--replace-fail "Exec=heroic-run" "Exec=heroic"
runHook postInstall
'';