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",