From 1483712c937538b30ce5c5599368a47fc6aa5f3c Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Sun, 19 Jul 2026 18:48:00 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron-builder.yml | 28 +++++++++++++++++----------- app/package.json | 6 +++--- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/app/electron-builder.yml b/app/electron-builder.yml index 8b72ba5..f27d5ce 100644 --- a/app/electron-builder.yml +++ b/app/electron-builder.yml @@ -1,5 +1,5 @@ -appId: com.electron.app -productName: frost-mqtt-client +appId: top.frost-zx.frost-mqtt-client +productName: Frost MQTT Client directories: buildResources: build files: @@ -13,10 +13,15 @@ asarUnpack: win: executableName: frost-mqtt-client nsis: - artifactName: ${name}-${version}-setup.${ext} + allowToChangeInstallationDirectory: true + artifactName: ${name}-${version}-Windows-${arch}-Setup.${ext} + createDesktopShortcut: always + createStartMenuShortcut: true + oneClick: false + perMachine: false + runAfterFinish: false shortcutName: ${productName} uninstallDisplayName: ${productName} - createDesktopShortcut: always mac: entitlementsInherit: build/entitlements.mac.plist extendInfo: @@ -26,16 +31,17 @@ mac: - NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder. notarize: false dmg: - artifactName: ${name}-${version}.${ext} + artifactName: ${name}-${version}-macOS-${arch}.${ext} linux: - target: - - AppImage - - snap - - deb - maintainer: electronjs.org category: Utility + artifactName: ${name}-${version}-Linux-${arch}.${ext} + maintainer: frost-zx.github.io + target: + # - AppImage + # - snap + - deb appImage: - artifactName: ${name}-${version}.${ext} + artifactName: ${name}-${version}-Linux-${arch}.${ext} npmRebuild: false publish: provider: generic diff --git a/app/package.json b/app/package.json index 9f1c941..e7348a8 100644 --- a/app/package.json +++ b/app/package.json @@ -1,10 +1,10 @@ { "name": "frost-mqtt-client", "version": "1.0.0", - "description": "An Electron application with Vue", + "description": "一个使用 AI 开发的多功能 MQTT 桌面客户端,基于 Electron + Vue 3 + Naive UI 构建。", "main": "./out/main/index.js", - "author": "example.com", - "homepage": "https://electron-vite.org", + "author": "Frost-ZX", + "homepage": "https://frost-zx.github.io/", "scripts": { "lint": "eslint --cache .", "start": "electron-vite preview",