4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-01-27 13:22:14 +00:00
qortal-ui/electron-builder.yml
AlphaX-Projects fa29ff4c43 Update UI
Refactor and added new functioms
2024-05-08 13:16:23 +02:00

139 lines
2.9 KiB
YAML

appId: "org.qortal.QortalUI"
productName: "Qortal UI"
copyright: "Copyright © 2021 - 2023 Qortal"
# forceCodeSigning: false
# nodeGypRebuild: false
compression: normal
asar: true
afterPack: "./scripts/afterPack.js"
afterSign: "./scripts/notarize.js"
files:
- from: "."
to: "."
filter:
- "electron.js"
- "img/"
- "node_modules/"
- "server.js"
- "package.json"
- "builtWWW/"
- "config/"
- "scripts/"
- "build/"
- "lib/*.js"
- "locales/*.json"
- "splash/"
- "crypto/"
- "core/"
- "plugins/"
# Mac OS configuration
mac:
icon: "./img/icons/icns/256x256.icns"
hardenedRuntime: true
gatekeeperAssess: false
entitlements: "./build/entitlements.mac.plist"
entitlementsInherit: "./build/entitlements.mac.plist"
category: "public.app-category.utilities"
asarUnpack: "**/*.node"
target:
- { target: dmg }
- { target: pkg }
# Config for OSX dmg
dmg:
sign: false
artifactName: "Qortal-Setup-macOS.${ext}"
icon: "./img/icons/icns/256x256.icns"
iconSize: 100
contents:
- x: 130
y: 220
- x: 410
y: 220
type: "link"
path: "/Applications"
# Config for OSX pkg
pkg:
artifactName: "Qortal-Setup-macOS.${ext}"
installLocation: "/Applications"
background: {
file: "./build/logo.png",
alignment: "bottomleft",
scaling: "none"
}
allowAnywhere: true
allowCurrentUserHome: true
allowRootDirectory: true
isVersionChecked: true
isRelocatable: false
overwriteAction: "upgrade"
# Windows configuration
win:
legalTrademarks: "QORTAL.ORG"
icon: "./img/icons/ico/256x256.ico"
target:
- "nsis"
- "portable"
# Config for the windows installer
nsis:
artifactName: "Qortal-Setup-win64.${ext}"
oneClick: false
perMachine: true
installerSidebar: "./img/win-installer-sidebar.bmp"
uninstallerSidebar: "./img/win-uninstaller-sidebar.bmp"
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
target:
- "deb"
- "AppImage"
- "snap"
- "rpm"
asar: true
deb:
artifactName: "Qortal-Setup-amd64.${ext}"
synopsis: "Qortal UI for Linux"
afterInstall: "./scripts/add-debian-apt-repo.sh"
afterRemove: "./scripts/uninstall-debian-conf.sh"
appImage:
artifactName: "Qortal-Setup-amd64.${ext}"
snap:
artifactName: "Qortal-Setup-amd64.${ext}"
synopsis: "Qortal UI for Linux"
rpm:
artifactName: "Qortal-Setup-amd64.${ext}"
directories:
output: dist
buildResources: "./build/"
publish:
provider: github
owner: Qortal
repo: qortal-ui