Installer background image (#633)

* #629 set background image on installer
This commit is contained in:
Neil 2023-05-31 12:02:43 +08:00 committed by GitHub
parent a5a37d138a
commit d00e083da9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 1 deletions

View file

@ -22,6 +22,26 @@ module.exports = {
},
minimumSystemVersion: "11"
},
dmg: {
background: "./electron/bg.png",
window: {
width: 684,
height: 465
},
iconSize: 128,
contents: [
{
x: 158,
y: 219
},
{
x: 528,
y: 219,
type: "link",
path: "/Applications"
}
]
},
afterSign: async (params) => {
if (process.platform !== "darwin" || process.env.CSC_IDENTITY_AUTO_DISCOVERY === "false") {
console.log("not notarizing app");

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

View file

@ -1,6 +1,6 @@
{
"name": "tea",
"version": "0.2.20",
"version": "0.2.21",
"private": true,
"description": "tea gui app",
"author": "tea.xyz",