From 5513d87089ac655a984fc8e45e127f05964d4dd6 Mon Sep 17 00:00:00 2001 From: houdunren <2300071698@qq.com> Date: Sun, 11 Feb 2024 00:53:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .DS_Store | Bin 12292 -> 12292 bytes .github/workflows/build.yml | 1 + electron-builder-mas.yml | 3 ++- package.json | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.DS_Store b/.DS_Store index ed01f9ee1475e3666b23bdbb909d93bf40e9f4a2..1ab29761d36686b7956a0561363a57713ec0d401 100644 GIT binary patch delta 80 zcmZokXi3<>r#5+}n9yVewFFM_>S|+S104l}$^S)VCL4&WY(AwX$;kMB^J8^wHUg?9 IKN43002)UbuK)l5 delta 34 jcmZokXi3<>r#AVf(4NgF)g&1=KUUXfgYzao7FPrS0y7RZ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c43324..cd790d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,6 +41,7 @@ jobs: if: matrix.os == 'macos-latest' run: | pnpm run build:mac + pnpm run build:mac-arm env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} diff --git a/electron-builder-mas.yml b/electron-builder-mas.yml index 14398e7..9930ee7 100644 --- a/electron-builder-mas.yml +++ b/electron-builder-mas.yml @@ -26,7 +26,8 @@ mac: # 图标,看后盾人文档库 electron 章节有介绍生成方法 icon: build/icon.icns # target: ['mas', 'pkg', 'dmg'] - target: { target: 'mas', arch: 'universal' } + target: + - mas extendInfo: NSCameraUsageDescription: 软件需要使用你的摄像头,用于显示你的视频画面. # - NSMicrophoneUsageDescription: 请允许本程序访问您的麦克风 diff --git a/package.json b/package.json index f224a3b..ac1a495 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "houdunren-camera", - "version": "1.0.76", + "version": "1.0.77", "description": "方便好用的桌面摄像头软件,适合直播、录课、内容分享时使用", "main": "./out/main/index.js", "author": "向军大叔",