forked from KindaBrazy/LynxHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectron-builder.config.cjs
57 lines (56 loc) · 1.93 KB
/
electron-builder.config.cjs
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
/** @type {import('electron-builder').Configuration} */
const config = {
appId: 'ai.kindabrazy.lynxhub',
electronLanguages: 'en-US',
directories: {
buildResources: 'build',
},
files: [
'!**/.vscode/*',
'!src/*',
'!dist/*',
'!electron.vite.config.{js,ts,mjs,cjs}',
'!electron-builder.config.{js,ts,mjs,cjs}',
'!{.eslintignore,.eslintrc.cjs,eslint.config.js,.prettierignore,.prettierrc.yaml}',
'!{.env,.env.*,.npmrc,pnpm-lock.yaml,.prettierrc.json,.ncurc.json,postcss.config.cjs,tailwind.config.js}',
'!{tsconfig.json,tsconfig.node.json,tsconfig.web.json,dev-app-update.yml,CHANGELOG.md,README.md}',
],
asarUnpack: ['resources/**'],
npmRebuild: false,
artifactName: '${productName}-V${version}-${os}_${arch}.${ext}',
nsis: {
artifactName: '${productName}-V${version}-${os}_${arch}-Setup.${ext}',
shortcutName: '${productName}',
uninstallDisplayName: '${productName}',
oneClick: false,
perMachine: true,
allowToChangeInstallationDirectory: true,
createDesktopShortcut: 'always',
},
linux: {
target: [
{target: 'deb', arch: ['x64', 'arm64']},
{target: 'rpm', arch: ['x64', 'arm64']},
{target: 'tar.gz', arch: ['x64', 'arm64']},
],
synopsis: 'Manage AI interfaces from a single platform.',
description:
'LynxHub is an open-source AI management software that lets you seamlessly install, configure, launch, and' +
' manage AI interfaces from a single, intuitive platform.',
category: 'ArtificialIntelligence',
executableArgs: ['--no-sandbox'],
},
mac: {
artifactName: '${productName}-V${version}-${os}.${ext}',
icon: 'build/icon-darwin.png',
entitlementsInherit: 'build/entitlements.mac.plist',
extendInfo: {
NSDocumentsFolderUsageDescription: 'LynxHub uses the Documents folder to store application data.',
},
notarize: false,
},
publish: {
provider: 'github',
},
};
module.exports = config;