diff --git a/.DS_Store b/.DS_Store index c6db7ce..7976dbb 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/build/entitlements.mac.plist b/build/entitlements.mac.plist index 35f932c..0ba1057 100644 --- a/build/entitlements.mac.plist +++ b/build/entitlements.mac.plist @@ -2,12 +2,10 @@ - com.apple.security.app-sandbox - - com.apple.security.application-groups - F7B54AYZ85.com.houdunren.flipClock com.apple.security.cs.allow-jit + com.apple.security.device.camera + com.apple.security.cs.allow-unsigned-executable-memory com.apple.security.cs.allow-dyld-environment-variables diff --git a/build/entitlements.mas.plist b/build/entitlements.mas.plist index 325c160..e837cad 100644 --- a/build/entitlements.mas.plist +++ b/build/entitlements.mas.plist @@ -2,18 +2,20 @@ + com.apple.security.application-groups + F7B54AYZ85.com.houdunren.camera + com.apple.security.cs.allow-unsigned-executable-memory + com.apple.security.app-sandbox - com.apple.security.application-groups - - F7B54AYZ85.com.houdunren.flipClock - com.apple.security.network.client - com.apple.security.network.server - - com.apple.security.files.user-selected.read-write + com.apple.security.device.camera + + com.apple.security.cs.allow-jit com.apple.security.cs.allow-dyld-environment-variables diff --git a/build/icon.icns b/build/icon.icns index f57f738..8ce99c5 100644 Binary files a/build/icon.icns and b/build/icon.icns differ diff --git a/build/icon.png b/build/icon.png index 470e2f1..f1c324e 100644 Binary files a/build/icon.png and b/build/icon.png differ diff --git a/electron-builder.yml b/electron-builder.yml index b681d2c..7b76727 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -7,9 +7,10 @@ files: - '!src/*' - '!electron.vite.config.{js,ts,mjs,cjs}' - '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}' + - '!{.env,.env.*,.npmrc,pnpm-lock.yaml}' - '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}' asarUnpack: - - resources/* + - resources/** afterSign: build/notarize.js win: executableName: houdunren-camera @@ -19,11 +20,12 @@ nsis: uninstallDisplayName: ${productName} createDesktopShortcut: always mac: + # 最低系统版本,下面指生成arm,因为最低版本是12 + minimumSystemVersion: 12 entitlementsInherit: build/entitlements.mac.plist + # 图标,看后盾人文档库 electron 章节有介绍生成方法 icon: build/icon.icns target: ['mas', 'pkg', 'dmg'] - # 最低系统版本,下面指生成arm,因为最低版本是12 - minimumSystemVersion: 12 extendInfo: - NSCameraUsageDescription: Application requests access to the device's camera. - NSMicrophoneUsageDescription: Application requests access to the device's microphone. @@ -38,6 +40,7 @@ mas: provisioningProfile: build/camera.provisionprofile dmg: artifactName: ${name}-${version}.${ext} + sign: false linux: target: - AppImage @@ -48,10 +51,6 @@ linux: appImage: artifactName: ${name}-${version}.${ext} npmRebuild: false -# publish: -# provider: generic -# url: https://github.com/houdunwang/camera -# publish: -# provider: github -# releaseType: release -# url: https://github.com/houdunwang/camera +publish: + provider: generic + url: https://example.com/auto-updates diff --git a/package.json b/package.json index 3f46703..bb89175 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "houdunren-camera", - "version": "1.0.54", + "version": "1.0.57", "description": "方便好用的桌面摄像头软件,适合直播、录课、内容分享时使用", "main": "./out/main/index.js", "author": "向军大叔",