From d1d09676af073d364ae080a792c35d944abece32 Mon Sep 17 00:00:00 2001 From: houdunren <2300071698@qq.com> Date: Sun, 11 Feb 2024 00:41:32 +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 --- electron-builder.yml | 1 + package.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/electron-builder.yml b/electron-builder.yml index fa87353..5ca9099 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -25,6 +25,7 @@ mac: icon: build/icon.icns target: - zip + - pkg extendInfo: - NSCameraUsageDescription: Application requests access to the device's camera. - NSMicrophoneUsageDescription: Application requests access to the device's microphone. diff --git a/package.json b/package.json index 5b91fc2..630b674 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "houdunren-camera", - "version": "1.0.74", + "version": "1.0.75", "description": "方便好用的桌面摄像头软件,适合直播、录课、内容分享时使用", "main": "./out/main/index.js", "author": "向军大叔", @@ -17,9 +17,9 @@ "build": "npm run typecheck && electron-vite build", "postinstall": "electron-builder install-app-deps", "build:win": "npm run build && electron-builder --win --config --publish never", - "build:mac": "npm run build && electron-builder --mac --config --publish never", "build:linux": "npm run build && electron-builder --linux --config --publish never", - "build:mac-mas": "npm run build && electron-builder --arm64 --mac --config electron-builder-mas.yml --publish never" + "build:mac": "npm run build && electron-builder --mac --arm64 --config --publish never", + "build:mac-mas": "npm run build && electron-builder --mac --config electron-builder-mas.yml --publish never" }, "dependencies": { "@electron-toolkit/preload": "^2.0.0",