4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00
qortal-ui/electron-builder.yml

131 lines
2.6 KiB
YAML
Raw Permalink Normal View History

2021-12-30 19:08:11 +01:00
appId: "org.qortal.QortalUI"
2022-01-04 17:02:30 +01:00
productName: "Qortal UI"
2021-12-30 17:26:12 +01:00
copyright: "Copyright © 2021 Qortal"
2021-12-25 14:39:47 +01:00
# forceCodeSigning: false
# nodeGypRebuild: false
2021-12-31 10:48:26 +01:00
compression: normal
2021-12-25 14:39:47 +01:00
asar: true
2022-01-11 08:15:44 +01:00
afterPack: "./scripts/afterPack.js"
afterSign: "./scripts/notarize.js"
2021-12-25 14:39:47 +01:00
files:
- from: "."
to: "."
filter:
- "electron.js"
- "img/"
- "node_modules/"
- "server.js"
- "package.json"
- "builtWWW/"
- "config/"
- "scripts/"
2021-12-30 18:23:16 +01:00
- "build/"
2021-12-25 14:39:47 +01:00
# Mac OS configuration
mac:
icon: "./img/icons/icns/256x256.icns"
2021-12-28 23:38:18 +01:00
hardenedRuntime: true
gatekeeperAssess: false
2021-12-29 12:08:11 +01:00
entitlements: "./build/entitlements.mac.plist"
entitlementsInherit: "./build/entitlements.mac.plist"
2022-01-01 14:15:14 +01:00
category: "public.app-category.utilities"
2022-01-02 00:08:05 +01:00
asarUnpack: "**/*.node"
2021-12-25 14:39:47 +01:00
target:
- { target: dmg }
2021-12-30 17:26:12 +01:00
- { target: pkg }
2021-12-25 14:39:47 +01:00
# Config for OSX dmg
dmg:
2021-12-28 23:13:38 +01:00
sign: false
2022-01-11 08:15:44 +01:00
artifactName: "Qortal-Setup-macOS.${ext}"
2022-01-02 18:26:49 +01:00
icon: "./img/icons/icns/256x256.icns"
2021-12-25 14:39:47 +01:00
iconSize: 100
contents:
- x: 130
y: 220
- x: 410
y: 220
type: "link"
path: "/Applications"
2022-01-01 20:49:57 +01:00
# Config for OSX pkg
pkg:
2022-01-11 08:15:44 +01:00
artifactName: "Qortal-Setup-macOS.${ext}"
2022-01-01 20:49:57 +01:00
installLocation: "/Applications"
background: {
file: "./build/logo.png",
alignment: "bottomleft",
scaling: "none"
}
allowAnywhere: true
allowCurrentUserHome: true
allowRootDirectory: true
isVersionChecked: true
isRelocatable: false
2021-12-30 17:26:12 +01:00
overwriteAction: "upgrade"
2021-12-25 14:39:47 +01:00
# Windows configuration
win:
legalTrademarks: "QORTAL.ORG"
icon: "./img/icons/ico/256x256.ico"
target:
- "nsis"
# Config for the windows installer
nsis:
2022-01-11 08:15:44 +01:00
artifactName: "Qortal-Setup-win64.${ext}"
2021-12-25 14:39:47 +01:00
oneClick: false
perMachine: false
2021-12-25 15:32:43 +01:00
installerSidebar: "./img/win-installer-sidebar.bmp"
uninstallerSidebar: "./img/win-uninstaller-sidebar.bmp"
2021-12-25 14:39:47 +01:00
runAfterFinish: true
deleteAppDataOnUninstall: true
createDesktopShortcut: true
createStartMenuShortcut: true
# Linux configuration
linux:
icon: "./img/icons/png/"
category: "Network"
packageCategory: "Network"
desktop:
StartupWMClass: qortal-ui
executableArgs:
- --no-sandbox
- '--js-flags="--max-old-space-size=6144"'
target:
- "deb"
- "AppImage"
deb:
2022-04-16 14:22:16 +02:00
artifactName: "Qortal-Setup-amd64.${ext}"
2021-12-25 14:39:47 +01:00
synopsis: "Qortal UI for Linux"
afterInstall: "./scripts/add-debian-apt-repo.sh"
afterRemove: "./scripts/uninstall-debian-conf.sh"
2022-01-11 08:15:44 +01:00
appImage:
2022-04-16 14:22:16 +02:00
artifactName: "Qortal-Setup-amd64.${ext}"
2022-01-11 08:15:44 +01:00
2021-12-25 14:39:47 +01:00
snap:
2022-01-11 08:15:44 +01:00
artifactName: "Qortal-Setup-amd64.${ext}"
2021-12-25 14:39:47 +01:00
synopsis: "Qortal UI for Linux"
2022-01-11 08:15:44 +01:00
rpm:
artifactName: "Qortal-Setup-amd64.${ext}"
2021-12-25 14:39:47 +01:00
directories:
output: dist
2022-01-02 18:26:49 +01:00
buildResources: "./build/"
2021-12-25 14:39:47 +01:00
publish:
provider: github
owner: Qortal
repo: qortal-ui