forked from ConardLi/easy-dataset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectron-builder.yml
76 lines (66 loc) · 1.74 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
72
73
74
75
76
appId: com.easydataset.app
productName: Easy Dataset
copyright: Copyright 2025 Easy Dataset
description: A application for creating large model fine-tuning datasets
directories:
output: dist
buildResources: public
files:
- .next/**/*
- '!.next/cache/**/*'
- public/**/*
- locales/**/*
- package.json
- electron/**/*
- node_modules/**/*
- '!node_modules/.cache/**/*'
- '!node_modules/.bin/**/*'
- '!node_modules/.vite/**/*'
- '!**/*.{md,d.ts,map}'
- '!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}'
extraResources:
- from: locales
to: locales
asar: false
compression: maximum
afterbuild: ['rm -rf node_modules/.cache', 'rm -rf node_modules/.vite']
mac:
category: public.app-category.developer-tools
target:
- target: dmg
arch: [arm64, x64] # 同时支持 M 芯片和 Intel 芯片
icon: public/imgs/logo.icns
hardenedRuntime: true
gatekeeperAssess: false
darkModeSupport: true
electronLanguages: ['zh_CN', 'en']
identity: 'Developer ID Application: Conard LI (JRL9ZUXR95)'
entitlements: 'electron/entitlements.mac.plist'
entitlementsInherit: 'electron/entitlements.mac.plist'
# 添加 Windows 配置
win:
icon: public/imgs/logo.ico
target:
- target: nsis
arch: [x64]
# 添加 Linux 配置
linux:
icon: public/imgs/logo.png
target: [AppImage, deb]
category: Development
maintainer: '1009903985@qq.com'
dmg:
contents:
- x: 130
y: 220
- x: 410
y: 220
type: link
path: /Applications
publish:
provider: github
owner: ConardLi
repo: easy-dataset
releaseType: release
private: false
publishAutoUpdate: true