forked from Qortal/qortal-ui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
2.6 KiB
130 lines
2.6 KiB
appId: "org.qortal.QortalUI" |
|
productName: "Qortal UI" |
|
copyright: "Copyright © 2021 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/" |
|
|
|
# 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" |
|
|
|
# Config for the windows installer |
|
nsis: |
|
artifactName: "Qortal-Setup-win64.${ext}" |
|
oneClick: false |
|
perMachine: false |
|
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 |
|
- '--js-flags="--max-old-space-size=6144"' |
|
target: |
|
- "deb" |
|
- "AppImage" |
|
|
|
deb: |
|
artifactName: "Qortal-Setup-arm64.${ext}" |
|
synopsis: "Qortal UI for Linux" |
|
afterInstall: "./scripts/add-debian-apt-repo.sh" |
|
afterRemove: "./scripts/uninstall-debian-conf.sh" |
|
|
|
appImage: |
|
artifactName: "Qortal-Setup-arm64.${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
|
|
|