set minimum system version

This commit is contained in:
pompurin404 2024-10-16 16:41:44 +08:00
parent 3b139263ed
commit 64ed2864dc
No known key found for this signature in database
4 changed files with 9 additions and 4 deletions

View File

@ -191,6 +191,7 @@ jobs:
run: |
pnpm install
pnpm add @mihomo-party/sysproxy-darwin-${{ matrix.arch }}
pnpm add -D electron@32.2.0
pnpm prepare --${{ matrix.arch }}
- name: Build
env:

View File

@ -39,6 +39,7 @@ nsis:
mac:
target:
- pkg
minimumSystemVersion: '10.15'
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
@ -47,6 +48,9 @@ mac:
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
artifactName: ${name}-macos-${version}-${arch}.${ext}
pkg:
allowAnywhere: false
allowCurrentUserHome: false
linux:
desktop:
Name: Mihomo Party

View File

@ -55,10 +55,10 @@
"cron-validator": "^1.3.1",
"driver.js": "^1.3.1",
"electron": "^33.0.0",
"electron-builder": "25.0.4",
"electron-builder": "=25.0.4",
"electron-vite": "^2.3.0",
"electron-window-state": "^5.0.3",
"eslint": "^8.57.1",
"eslint": "=8.57.1",
"eslint-plugin-react": "^7.37.1",
"form-data": "^4.0.1",
"framer-motion": "^11.11.8",

View File

@ -100,7 +100,7 @@ importers:
specifier: ^33.0.0
version: 33.0.0
electron-builder:
specifier: 25.0.4
specifier: '=25.0.4'
version: 25.0.4(electron-builder-squirrel-windows@25.0.4)
electron-vite:
specifier: ^2.3.0
@ -109,7 +109,7 @@ importers:
specifier: ^5.0.3
version: 5.0.3
eslint:
specifier: ^8.57.1
specifier: '=8.57.1'
version: 8.57.1
eslint-plugin-react:
specifier: ^7.37.1