diff --git a/pkgs/by-name/he/heroic-unwrapped/fix-non-steam-shortcuts.patch b/pkgs/by-name/he/heroic-unwrapped/fix-non-steam-shortcuts.patch index 7b46473245f7..2c771441ca8a 100644 --- a/pkgs/by-name/he/heroic-unwrapped/fix-non-steam-shortcuts.patch +++ b/pkgs/by-name/he/heroic-unwrapped/fix-non-steam-shortcuts.patch @@ -1,11 +1,11 @@ diff --git a/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts b/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts -index ebef6aa4..c8bd853d 100644 +index 28c917ce..f3b09c55 100644 --- a/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts +++ b/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts -@@ -252,7 +252,7 @@ async function addNonSteamGame(props: { +@@ -255,7 +255,7 @@ async function addNonSteamGame(game: Game): Promise { // add new Entry const newEntry = {} as ShortcutEntry - newEntry.AppName = props.gameInfo.title + newEntry.AppName = gameInfo.title - newEntry.Exe = `"${app.getPath('exe')}"` + newEntry.Exe = `"heroic"` newEntry.StartDir = `"${process.cwd()}"` diff --git a/pkgs/by-name/he/heroic-unwrapped/package.nix b/pkgs/by-name/he/heroic-unwrapped/package.nix index 8f0bdf3cbe88..cf05d80bc405 100644 --- a/pkgs/by-name/he/heroic-unwrapped/package.nix +++ b/pkgs/by-name/he/heroic-unwrapped/package.nix @@ -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, + electron_43, vulkan-helper, gogdl, nile, @@ -22,6 +22,7 @@ let pnpm = pnpm_10; + electron = electron_43; legendary = callPackage ./legendary.nix { }; epic-integration = callPackage ./epic-integration.nix { }; @@ -29,13 +30,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "heroic-unwrapped"; - version = "2.22.0"; + version = "2.22.1"; src = fetchFromGitHub { owner = "Heroic-Games-Launcher"; repo = "HeroicGamesLauncher"; tag = "v${finalAttrs.version}"; - hash = "sha256-RDJDeL5exEzF2BhEWoiXWsTpV5hytrB6RDoXV0mTWTw="; + hash = "sha256-CpbCXmvfwXT16ZG/6fwPWSjBwK02ykJ/GuZk1VcW+tU="; }; pnpmDeps = fetchPnpmDeps { @@ -47,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: { ; inherit pnpm; fetcherVersion = 3; - hash = "sha256-lPHL6pA39hvEtq5WkcAXfcY3a0VPseQL/nI+oEjIZeE="; + hash = "sha256-NrglT9vtDMAYXmZ4G3vifvLXu1yS6xbp+cqE6B6vQFc="; }; nativeBuildInputs = [