Change:
<ins> { "name": "heroic", "version": "2.4.0", "private": true, "main": "public/main.js", "homepage": "./", "license": "GPL-3.0-only", "description": "An Open Source Launcher for GOG and Epic Games", "repository": { "type": "Github", "url": "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher" }, "author": { "name": "Heroic Games Launcher", "email": "heroicgameslauncher@protonmail.com" }, "build": { "appId": "com.electron.heroic", "productName": "Heroic", "files": [ "build/**/*", "node_modules/**/*", "!build/bin/*", "build/bin/legendary.LICENSE" ], "asarUnpack": [ "build/icon.png", "build/icon.icns", "build/win_icon.ico", "build/icon-dark.png", "build/icon-light.png" ], "directories": { "buildResources": "public" }, "protocols": [ { "name": "heroic", "schemes": [ "heroic" ] } ], "win": { "artifactName": "Heroic_Setup_${version}.${ext}", "icon": "build/win_icon.ico", "asarUnpack": [ "build/bin/win32/legendary.exe", "build/bin/win32/gogdl.exe" ], "files": [ "build/bin/win32/*" ] }, "mac": { "target": "dmg", "category": "public.app-category.games", "icon": "build/icon.icns", "asarUnpack": [ "build/bin/darwin/legendary", "build/bin/darwin/gogdl" ], "files": [ "build/bin/darwin/*" ] }, "dmg": { "background": "public/dmg.png", "window": { "width": "600", "height": "500" }, "contents": [ { "x": 10, "y": 215, "type": "file" }, { "x": 420, "y": 215, "type": "link", "path": "/Applications" } ] }, "linux": { "category": "Game", "icon": "build/icon.icns", "description": "An Open Source Launcher for GOG and Epic Games", "desktop": { "Name": "Heroic Games Launcher", "Comment[de]": "Ein Open Source Spielelauncher for GOG und Epic Games" }, "asarUnpack": [ "build/bin/linux/legendary", "build/bin/linux/gogdl" ], "files": [ "build/bin/linux/*" ] }, "deb": { "packageCategory": "games", "depends": [ "gawk", "curl" ] }, "pacman": { "packageCategory": "games", "depends": [ "gawk", "curl" ] }, "rpm": { "packageCategory": "games", "depends": [ "gawk", "curl" ] } }, "dependencies": { "@emotion/react": "^11.9.0", "@emotion/styled": "^11.8.1", "@fontsource/cabin": "^4.5.5", "@fontsource/rubik": "^4.5.6", "@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/free-brands-svg-icons": "^6.1.1", "@fortawesome/free-regular-svg-icons": "^6.1.1", "@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/react-fontawesome": "^0.1.18", "@mui/icons-material": "^5.6.2", "@mui/material": "^5.6.2", "@node-steam/vdf": "^2.2.0", "axios": "^0.26.1", "check-disk-space": "^3.3.1", "classnames": "^2.3.1", "crc": "^4.1.1", "discord-rich-presence-typescript": "^0.0.8", "electron-store": "^8.0.1", "electron-updater": "^5.0.1", "filesize": "^8.0.7", "font-list": "^1.4.5", "fs-extra": "^10.1.0", "fuse.js": "^6.6.2", "graceful-fs": "^4.2.10", "heroic-wine-downloader": "^1.2.3", "i18next": "^21.6.16", "i18next-fs-backend": "^1.1.4", "i18next-http-backend": "^1.4.0", "ini": "^3.0.0", "plist": "^3.0.5", "react": "17", "react-dom": "17", "react-i18next": "^11.16.7", "react-router-dom": "^6.3.0", "react-scripts": "^5.0.1", "shlex": "^2.1.2", "simple-keyboard": "^3.4.136", "source-map-support": "^0.5.21", "steam-shortcut-editor": "^3.1.1", "systeminformation": "^5.12.3", "tslib": "^2.4.0" }, "scripts": { "start": "DISABLE_ESLINT_PLUGIN=true nf start -p 3000 && electron-start", "electron-start": "ELECTRON_IS_DEV=1 node public/start-react", "electron": "yarn build-electron && electron . --trace-warnings", "react-start": "HOST=localhost BROWSER=none react-scripts start", "react-start:win": "react-scripts start", "build": "react-scripts build", "test": "jest --noStackTrace", "test-watch": "jest --watch --maxWorkers=25%", "test:ci": "jest --runInBand --silent", "eject": "react-scripts eject", "release:linux": "GH_TOKEN='${{ secrets.WORKFLOW_TOKEN }}' yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js -p always --linux deb AppImage rpm pacman tar.xz", "release:mac": "GH_TOKEN='${{ secrets.WORKFLOW_TOKEN }}' yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js -p always --mac", "release:win": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js -p always --win nsis portable", "dist:linux": "GH_TOKEN='${{ secrets.WORKFLOW_TOKEN }}' yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --linux", "dist:mac": "GH_TOKEN='${{ secrets.WORKFLOW_TOKEN }}' yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --mac", "dist:win": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --win", "lint": "eslint -c .eslintrc --ext .tsx,ts ./src && eslint -c .eslintrc --ext .ts ./electron", "lint-fix": "eslint --fix -c .eslintrc --ext .tsx,ts ./src && eslint --fix -c .eslintrc --ext .ts ./electron", "build-electron": "tsc --project electron/tsconfig.json", "watch-electron": "tsc --watch --project electron/tsconfig.json", "dist-flatpak": "cd flatpak && flatpak-builder build local.heroic.yml --install --force-clean --user", "flatpak-test": "yarn dist:linux appimage && cd flatpak && flatpak-builder build local.heroic.yml --install --force-clean --user", "i18n": "i18next", "prepare": "husky install", "prettier": "prettier --check .", "prettier-fix": "prettier --write ." }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "devDependencies": { "@testing-library/dom": "^7.31.0", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.1.1", "@testing-library/user-event": "^14.1.1", "@types/classnames": "^2.3.1", "@types/i18next-fs-backend": "^1.1.2", "@types/ini": "^1.3.31", "@types/jest": "^27.4.1", "@types/node": "^17.0.25", "@types/plist": "^3.0.2", "@types/react": "^18.0.6", "@types/react-dom": "^18.0.2", "@types/react-router-dom": "^5.3.3", "@types/tmp": "^0.2.3", "@typescript-eslint/eslint-plugin": "^5.20.0", "@typescript-eslint/parser": "^5.20.0", "electron": "^20.0.1", "electron-builder": "^23.1.0", "electron-devtools-installer": "^3.2.0", "eslint": "^8.13.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-react": "^7.29.4", "foreman": "^3.0.1", "husky": "^7.0.4", "i18next-parser": "^6.3.0", "prettier": "^2.6.2", "pretty-quick": "^3.1.3", "tmp": "^0.2.1", "ts-jest": "^27.1.4", "typescript": "^4.6.3" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version" ] } } </ins>

Discussion:
<!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on GitHub to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the current version of the package --- <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- name: heroic <!-- The current version can be found easily with the same process as above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 2.2.6 desired version: 2.4.0 beta <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: Please tag this issue in your PR.

The heroic launcher cannot access installed versions of proton or use proton Steps to reproduce the behavior: heroic a game to see if it can access the .steam/root/compatibilitytools.d/ (it cant) proton experimental should launch as tested on archlinux install Log File from error Add any other context about the problem here.
I'm not a maintainer.
I apologize, I saw you on the contributors section for the
Unfortunately I don't know how can this be fixed on a packaging level. Have you checked if there are issues related on the Heroic repo? This might help in understanding what to fix, specially because I don't have on hand my gaming rig anymore.
Another question that comes to mind that might be helpful to troubleshoot this (to see if this issue is from Legendary or the Heroic package): The legendary binary being used on your case is from the AppImage. Can you try running the same command but with the package on Nixpkgs? You can just copy the command on the first line and replace the path.
I tried with rare and legendary-gl, it also does not launch with proton
Then this might be something to consider with legendary developers, or at least there isn't much we can do at packaging level (unless someone can provide a clue of what is missing).
Yea I am not sure, it works great on fedora and arch in my testing with no issues, I tried on their discord and their github and they just closed it saying ask for help on discord, which no one was able to
FYI, today I will throw an updated version on , but using the .deb instead of the AppImage so I can customize the internals. The idea is using and from nixpkgs and my NUR repo respectively and patching some of the code from the . Can you please try from it and see how it goes
Hi I tried, but no matter what im getting a different error now with it stating FileNotFoundError: [Errno 2] No such file or directory: '' however the file is most definitely there, same with any version of proton
FYI, I haven't tried this one yet, I might be able to check it this week.
did you have any luck getting a version of proton to work?
Unfortunately I haven't been able to test that one yet, haven't gotten the time.

No worries, jon recommended this on reddit, but I have yet to get it properly working/packageable : stating file does not exist. It is most definitely in the folder though. file does not exist. is common when an executable tries to load an ELF binary which doesn't have a corrected ELF interpreter, and the RPATH patched to find any other libraries. Try doing steam-run with the launcher. The expression should probably be using buildFHSUserEnvBubbleWrap if it's going to be launching other executables which are packaged outside of nixpkgs.
That would make sense. I think that when you package AppImages, it wraps the application in a FHS environment, so now that I have set that up with the .deb (on the NUR case), it is not wrapped anymore. I can try to rewrite the current setup and post it here, and if you want to test it, that would be great.
I can totally test it out!
FYI I have contacted you through email
I have with a FHS user-env wrapper for the heroic launcher currently on , but tar crashes when run by the DXVKInstaller. ~I'm wondering if switching from the AppImage to the tarball release would make any difference.~ EDIT: Never mind, that error happens even when run outside the FHS env.
Based on your branch, I created , that modifies the name of the current package as unwrapped and it is now using the tarball.