forked from Qortal/qortal-ui
AlphaX-Projects
1 year ago
committed by
GitHub
4 changed files with 104 additions and 151 deletions
@ -1,138 +1,66 @@ |
|||||||
appId: "org.qortal.QortalUI" |
appId: "org.qortal.QortalUI" |
||||||
productName: "Qortal UI" |
productName: "Qortal UI" |
||||||
copyright: "Copyright © 2021 - 2023 Qortal" |
copyright: "Copyright © 2021 - 2023 Qortal" |
||||||
|
|
||||||
# forceCodeSigning: false |
# forceCodeSigning: false |
||||||
|
|
||||||
# nodeGypRebuild: false |
# nodeGypRebuild: false |
||||||
|
|
||||||
compression: normal |
compression: normal |
||||||
|
|
||||||
asar: true |
asar: true |
||||||
|
|
||||||
afterPack: "./scripts/afterPack.js" |
afterPack: "./scripts/afterPack.js" |
||||||
|
|
||||||
afterSign: "./scripts/notarize.js" |
afterSign: "./scripts/notarize.js" |
||||||
|
|
||||||
files: |
files: |
||||||
- from: "." |
- from: "." |
||||||
to: "." |
to: "." |
||||||
filter: |
filter: |
||||||
- "electron.js" |
- "electron.js" |
||||||
- "img/" |
- "img/" |
||||||
- "node_modules/" |
- "node_modules/" |
||||||
- "server.js" |
- "server.js" |
||||||
- "package.json" |
- "package.json" |
||||||
- "builtWWW/" |
- "builtWWW/" |
||||||
- "config/" |
- "config/" |
||||||
- "scripts/" |
- "scripts/" |
||||||
- "build/" |
- "build/" |
||||||
- "lib/*.js" |
- "lib/*.js" |
||||||
- "locales/*.json" |
- "locales/*.json" |
||||||
- "splash/" |
- "splash/" |
||||||
- "crypto/" |
- "crypto/" |
||||||
- "core/" |
- "core/" |
||||||
- "plugins/" |
- "plugins/" |
||||||
|
|
||||||
# Mac OS configuration |
# Linux configuration |
||||||
mac: |
linux: |
||||||
icon: "./img/icons/icns/256x256.icns" |
icon: "./img/icons/png/" |
||||||
hardenedRuntime: true |
category: "Network" |
||||||
gatekeeperAssess: false |
packageCategory: "Network" |
||||||
entitlements: "./build/entitlements.mac.plist" |
desktop: |
||||||
entitlementsInherit: "./build/entitlements.mac.plist" |
StartupWMClass: qortal-ui |
||||||
category: "public.app-category.utilities" |
executableArgs: |
||||||
asarUnpack: "**/*.node" |
- --no-sandbox |
||||||
target: |
target: |
||||||
- { target: dmg } |
- "deb" |
||||||
- { target: pkg } |
- "AppImage" |
||||||
|
|
||||||
# Config for OSX dmg |
deb: |
||||||
dmg: |
artifactName: "Qortal-Setup-arm64.${ext}" |
||||||
sign: false |
synopsis: "Qortal UI for Linux" |
||||||
artifactName: "Qortal-Setup-macOS.${ext}" |
afterInstall: "./scripts/add-debian-apt-repo.sh" |
||||||
icon: "./img/icons/icns/256x256.icns" |
afterRemove: "./scripts/uninstall-debian-conf.sh" |
||||||
iconSize: 100 |
|
||||||
contents: |
appImage: |
||||||
- x: 130 |
artifactName: "Qortal-Setup-arm64.${ext}" |
||||||
y: 220 |
|
||||||
- x: 410 |
directories: |
||||||
y: 220 |
output: dist |
||||||
type: "link" |
buildResources: "./build/" |
||||||
path: "/Applications" |
|
||||||
|
publish: |
||||||
# Config for OSX pkg |
provider: github |
||||||
pkg: |
owner: Qortal |
||||||
artifactName: "Qortal-Setup-macOS.${ext}" |
repo: qortal-ui |
||||||
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=3584"' |
|
||||||
target: |
|
||||||
- "deb" |
|
||||||
- "AppImage" |
|
||||||
- "snap" |
|
||||||
- "rpm" |
|
||||||
|
|
||||||
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 |
|
Loading…
Reference in new issue