3
0
Fork 0
forked from mirrors/nixpkgs

heroic: 2.6.2 -> 2.7.1

This commit is contained in:
Aidan Gauland 2023-05-01 21:29:14 +12:00
parent b87aa62298
commit 99e1385ccf
No known key found for this signature in database
GPG key ID: 16E68DD2D0E77C91
4 changed files with 4023 additions and 2452 deletions

View file

@ -10,13 +10,13 @@
mkYarnPackage rec {
pname = "heroic-unwrapped";
version = "2.6.2";
version = "2.7.1";
src = fetchFromGitHub {
owner = "Heroic-Games-Launcher";
repo = "HeroicGamesLauncher";
rev = "v${version}";
sha256 = "sha256-QXciJkY5l5Oqzgnj9vV5IwOSUtVeLMH29r2EIQVt2LI=";
sha256 = "sha256-l2eVLn1N+1nGxr8Oa2ecQgBmO0w/VJ8AY06GYQ0HiiI=";
};
packageJSON = ./package.json;
@ -68,6 +68,7 @@ mkYarnPackage rec {
meta = with lib; {
description = "A Native GOG and Epic Games Launcher for Linux, Windows and Mac";
homepage = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher";
changelog = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases";
license = licenses.gpl3Only;
maintainers = with maintainers; [ aidalgol ];
platforms = [ "x86_64-linux" ];

View file

@ -1,6 +1,6 @@
{
"name": "heroic",
"version": "2.6.2",
"version": "2.7.1",
"private": true,
"main": "build/electron/main.js",
"homepage": "./",
@ -15,8 +15,9 @@
"email": "heroicgameslauncher@protonmail.com"
},
"build": {
"appId": "com.electron.heroic",
"appId": "com.heroicgameslauncher.hgl",
"productName": "Heroic",
"afterSign": "sign/notarize.js",
"files": [
"build/**/*",
"node_modules/**/*",
@ -28,7 +29,8 @@
"build/icon.icns",
"build/win_icon.ico",
"build/icon-dark.png",
"build/icon-light.png"
"build/icon-light.png",
"build/webviewPreload.js"
],
"protocols": [
{
@ -54,9 +56,13 @@
},
"mac": {
"artifactName": "${productName}-${version}-macOS-${arch}.${ext}",
"target": "dmg",
"category": "public.app-category.games",
"icon": "build/icon.icns",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"extendInfo": {
"com.apple.security.cs.allow-jit": true
},
"asarUnpack": [
"build/bin/darwin/legendary",
"build/bin/darwin/gogdl"
@ -118,54 +124,66 @@
"depends": [
"curl"
]
},
"snap": {
"allowNativeWayland": true,
"category": "Games",
"synopsis": "An Open Source Launcher for GOG and Epic Games",
"description": "Heroic is an Open Source Games Launcher. Right now it supports launching games from the Epic Games Store using Legendary and GOG Games using our custom implementation with gogdl.",
"publish": {
"provider": "snapStore",
"channels": [
"edge"
],
"repo": "heroic"
}
}
},
"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.10.9",
"@mui/material": "^5.10.12",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@fontsource/cabin": "^4.5.10",
"@fontsource/rubik": "^4.5.14",
"@fortawesome/fontawesome-svg-core": "^6.3.0",
"@fortawesome/free-brands-svg-icons": "^6.3.0",
"@fortawesome/free-regular-svg-icons": "^6.3.0",
"@fortawesome/free-solid-svg-icons": "^6.3.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@mui/icons-material": "^5.11.11",
"@mui/material": "^5.11.12",
"@node-steam/vdf": "^2.2.0",
"@shockpkg/icon-encoder": "^2.1.3",
"axios": "^0.26.1",
"check-disk-space": "^3.3.1",
"classnames": "^2.3.1",
"crc": "^4.1.1",
"crc": "^4.3.2",
"discord-rich-presence-typescript": "^0.0.8",
"electron-store": "^8.0.1",
"electron-updater": "^5.0.1",
"filesize": "^8.0.7",
"filesize": "^10.0.6",
"font-list": "^1.4.5",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"fuse.js": "^6.6.2",
"graceful-fs": "^4.2.10",
"howlongtobeat": "^1.7.0",
"i18next": "^21.6.16",
"i18next-fs-backend": "^1.1.4",
"i18next-http-backend": "^1.4.0",
"i18next": "^22.4.11",
"i18next-fs-backend": "^2.1.1",
"i18next-http-backend": "^2.1.1",
"ini": "^3.0.0",
"plist": "^3.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^11.16.7",
"react-markdown": "^8.0.3",
"react-router-dom": "^6.3.0",
"recharts": "^2.1.14",
"react-i18next": "^12.2.0",
"react-markdown": "^8.0.5",
"react-router-dom": "^6.9.0",
"recharts": "^2.4.3",
"sanitize-filename": "^1.6.3",
"shlex": "^2.1.2",
"short-uuid": "^4.2.0",
"simple-keyboard": "^3.4.136",
"source-map-support": "^0.5.21",
"short-uuid": "^4.2.2",
"simple-keyboard": "^3.5.33",
"steam-shortcut-editor": "^3.1.1",
"systeminformation": "^5.15.0",
"ts-prune": "^0.10.3",
"tslib": "^2.4.0"
"systeminformation": "^5.17.12",
"tslib": "^2.5.0"
},
"scripts": {
"start": "vite",
@ -174,19 +192,20 @@
"test": "jest",
"test-watch": "jest --watch --maxWorkers=25%",
"test:ci": "jest --runInBand --silent",
"release:linux": "vite build && electron-builder -p always --linux deb AppImage rpm pacman tar.xz",
"release:linux": "vite build && electron-builder -p always --linux deb AppImage rpm pacman tar.xz snap",
"release:mac": "vite build && electron-builder -p always --mac --x64 --arm64",
"release:win": "vite build && electron-builder -p never --win nsis portable --x64 --arm64",
"release:win": "vite build && electron-builder -p always --win portable --x64 --arm64",
"sign:win": "vite build && electron-builder -p never --win nsis --x64 --arm64",
"dist:linux": "vite build && electron-builder --linux",
"dist:mac": "vite build && electron-builder --mac",
"dist:mac": "export CSC_IDENTITY_AUTO_DISCOVERY=false && vite build && electron-builder --mac",
"dist:win": "vite build && electron-builder --win",
"dist:flatpak": "yarn dist:linux appimage && yarn flatpak:prepare && yarn flatpak:build",
"lint": "eslint --cache -c .eslintrc --ext .tsx,ts ./src",
"lint": "eslint --cache -c .eslintrc --ext .tsx,ts .",
"lint-fix": "eslint --fix -c .eslintrc --ext .tsx,ts ./src",
"flatpak:build": "cd flatpak-build && flatpak-builder build com.heroicgameslauncher.hgl.yml --install --force-clean --user",
"flatpak:prepare": "node ./flatpak/prepareFlatpak.js",
"flatpak:prepare-release": "node ./flatpak/prepareFlatpak.js release",
"i18n": "i18next",
"i18n": "i18next --silent",
"prepare": "husky install",
"prettier": "prettier --check . '!flatpak-build'",
"prettier-fix": "prettier --write . '!flatpak-build'"
@ -198,42 +217,48 @@
]
},
"devDependencies": {
"@testing-library/dom": "^7.31.0",
"@electron/notarize": "^1.2.3",
"@testing-library/dom": "^9.0.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/react": "^14.0.0",
"@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/jest": "^29.4.0",
"@types/node": "^18.15.0",
"@types/plist": "^3.0.2",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@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",
"@vitejs/plugin-react": "^2.2.0",
"electron": "^22.2.0",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"@vitejs/plugin-react-swc": "^3.2.0",
"electron": "^23.1.3",
"electron-builder": "^23.6.0",
"electron-devtools-installer": "^3.2.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.29.4",
"husky": "^7.0.4",
"i18next-parser": "^6.3.0",
"jest": "^28.1.3",
"prettier": "^2.6.2",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.31.11",
"husky": "^8.0.3",
"i18next-parser": "^7.7.0",
"jest": "^29.5.0",
"prettier": "^2.8.1",
"pretty-quick": "^3.1.3",
"sass": "^1.55.0",
"sass": "^1.59.2",
"tmp": "^0.2.1",
"ts-jest": "^28.0.7",
"type-fest": "^3.2.0",
"typescript": "^4.8.4",
"vite": "^3.2.2",
"ts-jest": "^29.0.5",
"ts-prune": "^0.10.3",
"type-fest": "^3.6.1",
"typescript": "^4.9.4",
"unimported": "^1.26.0",
"vite": "^3.2.5",
"vite-plugin-electron": "^0.10.2",
"vite-plugin-svgr": "^2.2.2"
"vite-plugin-svgr": "^2.4.0"
},
"resolutions": {
"ts-morph": "^17.0.1"
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff