-
Notifications
You must be signed in to change notification settings - Fork 47
/
electron-builder.yml
71 lines (67 loc) · 2.1 KB
/
electron-builder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# 基础配置
appId: cn.stapxs.qqweb
productName: Stapxs QQ Lite
copyright: Copyright © 2022-2024 Stapx Steve [林槐]
directories:
buildResources: build,
output: dist_electron
files:
- '!**/.vscode/*'
- '!src/*'
- '!ssqq-web/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!vite.config.{js,ts,mjs,cjs}'
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.envrc,.gitmodules,.tool-versions,stats.html}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
asarUnpack:
- resources/**
# Windows 配置
win:
target:
- { target: portable, arch: x64 }
# - { target: portable, arch: arm64 }
executableName: Stapxs QQ Lite
icon: build/icon-client-others.png
legalTrademarks: Copyright © 2022-2024 Stapx Steve [林槐]
publisherName: stapxs
# macOS 配置
mac:
target:
- { target: dmg, arch: x64 }
- { target: dmg, arch: arm64 }
entitlementsInherit: build/entitlements.mac.plist
icon: build/icon-client-mac.icns
darkModeSupport: true
dmg:
writeUpdateInfo: false
background: build/dmg-bg.png
icon: build/icon-client-mac.icns
iconSize: 80
contents:
- { x: 112, y: 110 }
- { x: 396, y: 110, type: link, path: /Applications }
# Linux 配置
linux:
target:
- { target: AppImage, arch: x64 }
- { target: AppImage, arch: arm64 }
- { target: deb, arch: x64 }
- { target: deb, arch: arm64 }
- { target: tar.gz, arch: x64 }
- { target: tar.gz, arch: arm64 }
maintainer: Stapx Steve [林槐]
vendor: Stapxs Steve Team
synopsis: 一个兼容 OneBot 的非官方网页版 QQ 客户端。
category: Network
mimeTypes: [ application/x-stapxs-qq-lite ]
desktop:
Type: Application
Name: Stapxs QQ Lite
GenericName: Stapxs QQ Lite Electron 客户端
Comment: 一个兼容 OneBot 的非官方网页版 QQ 客户端。
Terminal: false
Category: Network
Icon: stapxs-qq-lite
# 其他配置
npmRebuild: false