mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
Installer background image (#633)
* #629 set background image on installer
This commit is contained in:
parent
a5a37d138a
commit
d00e083da9
3 changed files with 21 additions and 1 deletions
|
@ -22,6 +22,26 @@ module.exports = {
|
||||||
},
|
},
|
||||||
minimumSystemVersion: "11"
|
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) => {
|
afterSign: async (params) => {
|
||||||
if (process.platform !== "darwin" || process.env.CSC_IDENTITY_AUTO_DISCOVERY === "false") {
|
if (process.platform !== "darwin" || process.env.CSC_IDENTITY_AUTO_DISCOVERY === "false") {
|
||||||
console.log("not notarizing app");
|
console.log("not notarizing app");
|
||||||
|
|
BIN
modules/desktop/electron/bg.png
Normal file
BIN
modules/desktop/electron/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 MiB |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tea",
|
"name": "tea",
|
||||||
"version": "0.2.20",
|
"version": "0.2.21",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "tea gui app",
|
"description": "tea gui app",
|
||||||
"author": "tea.xyz",
|
"author": "tea.xyz",
|
||||||
|
|
Loading…
Reference in a new issue