fix: 更新应用ID和版本信息,修复许可证类型

This commit is contained in:
Elysia
2026-01-28 18:24:02 +08:00
parent ea0261a192
commit a3d50e026a
2 changed files with 18 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
// @see https://www.electron.build/configuration/configuration // @see https://www.electron.build/configuration/configuration
{ {
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json", "$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, "asar": true,
"productName": "APM AppStore", "productName": "APM AppStore",
"directories": { "directories": {
@@ -11,32 +11,23 @@
"dist", "dist",
"dist-electron" "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": { "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": [ "target": [
"AppImage" "AppImage",
"deb"
], ],
"artifactName": "${productName}-Linux-${version}.${ext}" "artifactName": "${productName}-Linux-${version}.${ext}"
} }

View File

@@ -1,10 +1,10 @@
{ {
"name": "apm-app-store", "name": "apm-app-store",
"version": "1.0.0", "version": "1.0.0-beta.0",
"main": "dist-electron/main/index.js", "main": "dist-electron/main/index.js",
"description": "Client for APM App Store", "description": "Client for APM App Store",
"author": "elysia-best <elysia-best@simplelinux.cn.eu.org>", "author": "elysia-best <elysia-best@simplelinux.cn.eu.org>",
"license": "UNLICENSED", "license": "MIT",
"private": true, "private": true,
"keywords": [ "keywords": [
"electron", "electron",