-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathelectron-builder.yml
84 lines (84 loc) · 2.59 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
77
78
79
80
81
82
83
84
appId: com.electron.siteone-crawler
productName: 'SiteOne Crawler'
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!**/.idea/*'
- '!src/*'
- '!bin/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
asarUnpack:
- resources/**
win:
executableName: SiteOne-Crawler
artifactName: ${name}-${os}-${arch}-${version}.${ext}
target:
- target: nsis
arch:
- x64
- target: msi
arch:
- x64
- target: portable
arch:
- x64
extraResources:
- from: 'bin/win-${arch}/'
to: 'bin'
- from: 'src/siteone-crawler/src/'
to: 'src/siteone-crawler/src'
files:
- from: 'bin/win-${arch}/crawler.bat'
to: 'crawler.bat'
nsis:
artifactName: ${name}-${os}-${arch}-${version}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
entitlementsInherit: build/entitlements.mac.plist
artifactName: ${name}-${os}-${arch}-${version}.${ext}
category: 'public.app-category.developer-tools'
extendInfo:
- NSDesktopFolderUsageDescription: The crawler asks for permission to access the Desktop - it creates a SiteOne-Crawler folder there, where it will store its data, including the generated report or the offline version of the website.
# - NSMicrophoneUsageDescription: Application requests access to the device's microphone.
# - NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
# - NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
extraResources:
- from: 'bin/mac-${arch}/'
to: 'bin'
- from: 'src/siteone-crawler/src/'
to: 'src/siteone-crawler/src'
files:
- from: 'bin/mac-${arch}/crawler'
to: 'crawler'
dmg:
artifactName: ${name}-${os}-${arch}-${version}.${ext}
linux:
artifactName: ${name}-${os}-${arch}-${version}.${ext}
target:
- AppImage
- snap
- deb
maintainer: www.siteone.io
icon: build/icons/icon-512x512.png
category: Network
extraResources:
- from: 'bin/linux-${arch}/'
to: 'bin'
- from: 'src/siteone-crawler/src/'
to: 'src/siteone-crawler/src'
files:
- from: 'bin/linux-${arch}/crawler'
to: 'crawler'
appImage:
artifactName: ${name}-${os}-${arch}-${version}.${ext}
npmRebuild: false
publish:
provider: generic
url: https://crawler.siteone.io/auto-updates