diff --git a/package.json b/package.json index 1161262b0..9eed8e46c 100644 --- a/package.json +++ b/package.json @@ -267,20 +267,20 @@ "test:e2e": "cross-env-shell docker compose -f e2e/docker-compose.yml run --rm --build process_all bash e2e/entrypoint.sh", "test:e2ePackaged": "cross-env TEST_PACKAGED=true yarn test:e2e", "manualTestProxyJest": "jest mmExtIntegration.test.ts", - "release:linux": "yarn pkgResetExtension:x64:linux && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && electron-builder -p always --linux deb rpm pacman tar.xz", + "release:linux": "yarn pkgResetExtension:x64:linux && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ electron-builder -p always --linux deb rpm pacman tar.xz", "release:updateFlathub:ci": "tsc flathub/update-flathub.ts --skipLibCheck --target es2015 --moduleResolution node --module commonjs && node flathub/update-flathub.js", - "release:mac:x64": "yarn pkgResetExtension:x64:mac && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && electron-builder -p always --mac --x64", - "release:mac:arm64": "yarn pkgResetExtension:arm64:mac && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && electron-builder -p always --mac --arm64", - "dist:linux": "yarn pkgResetExtension:x64:linux && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && electron-builder --linux", + "release:mac:x64": "yarn pkgResetExtension:x64:mac && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ electron-builder -p always --mac --x64", + "release:mac:arm64": "yarn pkgResetExtension:arm64:mac && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ electron-builder -p always --mac --arm64", + "dist:linux": "yarn pkgResetExtension:x64:linux && export NODE_ENV_ELECTRON_VITE=production && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ electron-builder --linux", "dist:linux:ci:deb": "yarn dist:linux deb --publish=never", "dist:linux:ci:rpm": "yarn dist:linux rpm --publish=never", "dist:linux:ci:pacman": "yarn dist:linux pacman --publish=never", "dist:linux:ci:flatpak": "npm run dist:linux tar.xz --publish=never", - "dist:mac:base": "export NODE_ENV_ELECTRON_VITE=production && export CSC_IDENTITY_AUTO_DISCOVERY=false && electron-vite build && electron-builder --mac", + "dist:mac:base": "export NODE_ENV_ELECTRON_VITE=production && export CSC_IDENTITY_AUTO_DISCOVERY=false && electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ electron-builder --mac", "dist:mac:x64": "yarn pkgResetExtension:x64:mac && yarn dist:mac:base --x64 --publish=never", "dist:mac:arm64": "yarn pkgResetExtension:arm64:mac && yarn dist:mac:base --arm64 --publish=never", - "dist:win": "yarn pkgResetExtension:x64:win && cross-env NODE_ENV_ELECTRON_VITE=production electron-vite build && electron-builder --win nsis --publish=never", - "build-signed:win": "electron-vite build && electron-builder --win -c.win.certificateSubjectName=\"HyperPlay Labs Inc.\"", + "dist:win": "yarn pkgResetExtension:x64:win && cross-env NODE_ENV_ELECTRON_VITE=production electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ electron-builder --win nsis --publish=never", + "build-signed:win": "electron-vite build && cross-env ELECTRON_MIRROR=https://github.com/HyperPlay-Gaming/electron-releases/releases/download/ electron-builder --win -c.win.certificateSubjectName=\"HyperPlay Labs Inc.\"", "lint": "eslint --cache -c .eslintrc --ext .tsx,ts ./src", "lint-fix": "eslint --fix -c .eslintrc --ext .tsx,ts ./src", "flatpak:build": "cd flatpak-build && flatpak-builder build xyz.hyperplay.HyperPlay.yml --install --force-clean --user",