diff --git a/electron-builder.yml b/electron-builder.yml index 26b80e4b..dd99df22 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -54,6 +54,80 @@ dmg: type: "link" path: "/Applications" +# Config for OSX pkg +pkg: + 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: + 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" + - "snap" + +deb: + synopsis: "Qortal UI for Linux" + afterInstall: "./scripts/add-debian-apt-repo.sh" + afterRemove: "./scripts/uninstall-debian-conf.sh" + +snap: + synopsis: "Qortal UI for Linux" + +directories: + output: dist + +publish: + provider: github + owner: Qortal + repo: qortal-ui + + sign: false + iconSize: 100 + contents: + - x: 130 + y: 220 + - x: 410 + y: 220 + type: "link" + path: "/Applications" + # Config for OSX pkg pkg: installLocation: "/Applications"