From a3d50e026aa570cd2a49da0acd604f4db682bd72 Mon Sep 17 00:00:00 2001 From: Elysia Date: Wed, 28 Jan 2026 18:24:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=BA=94=E7=94=A8ID?= =?UTF-8?q?=E5=92=8C=E7=89=88=E6=9C=AC=E4=BF=A1=E6=81=AF=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=AE=B8=E5=8F=AF=E8=AF=81=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron-builder.json5 | 41 ++++++++++++++++------------------------- package.json | 4 ++-- 2 files changed, 18 insertions(+), 27 deletions(-) diff --git a/electron-builder.json5 b/electron-builder.json5 index b0e3c18f..e5d00689 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -1,7 +1,7 @@ // @see https://www.electron.build/configuration/configuration { "$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json", - "appId": "store.spark-app.erotica", + "appId": "apm-app-store", "asar": true, "productName": "APM AppStore", "directories": { @@ -11,32 +11,23 @@ "dist", "dist-electron" ], - "mac": { - "target": [ - "dmg" - ], - "artifactName": "${productName}-Mac-${version}-Installer.${ext}" - }, - "win": { - "target": [ - { - "target": "nsis", - "arch": [ - "x64" - ] - } - ], - "artifactName": "${productName}-Windows-${version}-Setup.${ext}" - }, - "nsis": { - "oneClick": false, - "perMachine": false, - "allowToChangeInstallationDirectory": true, - "deleteAppDataOnUninstall": false - }, "linux": { + "icon": "public/amber-pm-logo.png", + "category": "System", + "executableName": "apm-app-store", + "desktop": { + "entry": { + "Name": "APM AppStore", + "Name[zh_CN]": "APM 应用商店", + "Comment": "Client for APM App Store", + "Comment[zh_CN]": "APM 应用商店客户端", + "StartupWMClass": "apm-app-store", + "MimeType": "x-scheme-handler/apmstore" + } + }, "target": [ - "AppImage" + "AppImage", + "deb" ], "artifactName": "${productName}-Linux-${version}.${ext}" } diff --git a/package.json b/package.json index 3e8f1cf0..53074266 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "apm-app-store", - "version": "1.0.0", + "version": "1.0.0-beta.0", "main": "dist-electron/main/index.js", "description": "Client for APM App Store", "author": "elysia-best ", - "license": "UNLICENSED", + "license": "MIT", "private": true, "keywords": [ "electron",