diff --git a/README.md b/README.md index 6ab4eff..f74cfab 100644 --- a/README.md +++ b/README.md @@ -76,16 +76,12 @@ npm run dev ### 构建应用 ```bash -# Windows +# Windows 安装版 + 便携版 npm run build:win - -# macOS -npm run build:mac - -# Linux -npm run build:linux ``` +当前项目的正式构建与发布链路仅维护 Windows 目标。 + ## 使用指南 ### 数据提取 diff --git a/electron-builder.yml b/electron-builder.yml index 7217ef5..327fd5a 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -38,26 +38,4 @@ nsis: shortcutName: ${productName} uninstallDisplayName: ${productName} 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 -publish: - provider: generic - url: https://example.com/auto-updates diff --git a/package.json b/package.json index baaf169..5ff2cf8 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,6 @@ "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: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:publish": "node scripts/publish-release.js", "release:upload": "node scripts/upload-release.js",