chore: align packaging with windows release flow
This commit is contained in:
10
README.md
10
README.md
@@ -76,16 +76,12 @@ npm run dev
|
|||||||
### 构建应用
|
### 构建应用
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Windows
|
# Windows 安装版 + 便携版
|
||||||
npm run build:win
|
npm run build:win
|
||||||
|
|
||||||
# macOS
|
|
||||||
npm run build:mac
|
|
||||||
|
|
||||||
# Linux
|
|
||||||
npm run build:linux
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
当前项目的正式构建与发布链路仅维护 Windows 目标。
|
||||||
|
|
||||||
## 使用指南
|
## 使用指南
|
||||||
|
|
||||||
### 数据提取
|
### 数据提取
|
||||||
|
|||||||
@@ -38,26 +38,4 @@ nsis:
|
|||||||
shortcutName: ${productName}
|
shortcutName: ${productName}
|
||||||
uninstallDisplayName: ${productName}
|
uninstallDisplayName: ${productName}
|
||||||
createDesktopShortcut: always
|
createDesktopShortcut: always
|
||||||
mac:
|
|
||||||
entitlementsInherit: build/entitlements.mac.plist
|
|
||||||
extendInfo:
|
|
||||||
- NSCameraUsageDescription: Application requests access to the device's camera.
|
|
||||||
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
|
|
||||||
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
|
|
||||||
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
|
|
||||||
notarize: false
|
|
||||||
dmg:
|
|
||||||
artifactName: ${name}-${version}.${ext}
|
|
||||||
linux:
|
|
||||||
target:
|
|
||||||
- AppImage
|
|
||||||
- snap
|
|
||||||
- deb
|
|
||||||
maintainer: electronjs.org
|
|
||||||
category: Utility
|
|
||||||
appImage:
|
|
||||||
artifactName: ${name}-${version}.${ext}
|
|
||||||
npmRebuild: false
|
npmRebuild: false
|
||||||
publish:
|
|
||||||
provider: generic
|
|
||||||
url: https://example.com/auto-updates
|
|
||||||
|
|||||||
@@ -18,8 +18,6 @@
|
|||||||
"build:updater": "node scripts/compile-updater.js",
|
"build:updater": "node scripts/compile-updater.js",
|
||||||
"build:unpack": "chcp 65001 && set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && npm run build:updater && npm run build && electron-builder --dir",
|
"build:unpack": "chcp 65001 && set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && npm run build:updater && npm run build && electron-builder --dir",
|
||||||
"build:win": "chcp 65001 && set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && npm run prebuild && npm run build && npm run build:updater && electron-builder --win",
|
"build:win": "chcp 65001 && set PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 && npm run prebuild && npm run build && npm run build:updater && electron-builder --win",
|
||||||
"build:mac": "chcp 65001 && npm run prebuild && electron-vite build && electron-builder --mac",
|
|
||||||
"build:linux": "chcp 65001 && npm run prebuild && electron-vite build && electron-builder --linux",
|
|
||||||
"release:prepare": "node scripts/prepare-release.js",
|
"release:prepare": "node scripts/prepare-release.js",
|
||||||
"release:publish": "node scripts/publish-release.js",
|
"release:publish": "node scripts/publish-release.js",
|
||||||
"release:upload": "node scripts/upload-release.js",
|
"release:upload": "node scripts/upload-release.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user