Unverified Commit 5d64338c authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #231908 from aidalgol/heroic-cruft-removal

heroic: remove leftover files
parents 52c6bafe f7a07504
Loading
Loading
Loading
Loading

pkgs/games/heroic/package.json

deleted100644 → 0
+0 −264
Original line number Diff line number Diff line
{
  "name": "heroic",
  "version": "2.7.1",
  "private": true,
  "main": "build/electron/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.heroicgameslauncher.hgl",
    "productName": "Heroic",
    "afterSign": "sign/notarize.js",
    "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",
      "build/webviewPreload.js"
    ],
    "protocols": [
      {
        "name": "heroic",
        "schemes": [
          "heroic"
        ]
      }
    ],
    "win": {
      "artifactName": "${productName}-${version}-Setup-${arch}.${ext}",
      "icon": "build/win_icon.ico",
      "asarUnpack": [
        "build/bin/win32/legendary.exe",
        "build/bin/win32/gogdl.exe"
      ],
      "files": [
        "build/bin/win32/*"
      ]
    },
    "portable": {
      "artifactName": "${productName}-${version}-Portable-${arch}.${ext}"
    },
    "mac": {
      "artifactName": "${productName}-${version}-macOS-${arch}.${ext}",
      "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"
      ],
      "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": [
        "curl"
      ]
    },
    "pacman": {
      "packageCategory": "games",
      "depends": [
        "curl"
      ]
    },
    "rpm": {
      "packageCategory": "games",
      "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.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.3.2",
    "discord-rich-presence-typescript": "^0.0.8",
    "electron-store": "^8.0.1",
    "electron-updater": "^5.0.1",
    "filesize": "^10.0.6",
    "font-list": "^1.4.5",
    "fs-extra": "^11.1.0",
    "fuse.js": "^6.6.2",
    "graceful-fs": "^4.2.10",
    "howlongtobeat": "^1.7.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": "^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.2",
    "simple-keyboard": "^3.5.33",
    "steam-shortcut-editor": "^3.1.1",
    "systeminformation": "^5.17.12",
    "tslib": "^2.5.0"
  },
  "scripts": {
    "start": "vite",
    "codecheck": "tsc --noEmit",
    "find-deadcode": "ts-prune --error",
    "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 snap",
    "release:mac": "vite build && electron-builder -p always --mac --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": "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 .",
    "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 --silent",
    "prepare": "husky install",
    "prettier": "prettier --check . '!flatpak-build'",
    "prettier-fix": "prettier --write . '!flatpak-build'"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "devDependencies": {
    "@electron/notarize": "^1.2.3",
    "@testing-library/dom": "^9.0.1",
    "@testing-library/jest-dom": "^5.16.4",
    "@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": "^29.4.0",
    "@types/node": "^18.15.0",
    "@types/plist": "^3.0.2",
    "@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.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.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.59.2",
    "tmp": "^0.2.1",
    "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.4.0"
  },
  "resolutions": {
    "ts-morph": "^17.0.1"
  }
}

pkgs/games/heroic/yarn.lock

deleted100644 → 0
+0 −8638

File deleted.

Preview size limit exceeded, changes collapsed.

pkgs/games/heroic/yarn.nix

deleted100644 → 0
+0 −9289

File deleted.

Preview size limit exceeded, changes collapsed.