mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
✨ feat(desktop): configure DMG background image (#12284)
* ✨ feat: configure DMG background image for macOS installer * ✨ feat(desktop): set DMG window size, icon positions, and retina DPI * 🔧 chore(desktop): resize DMG background to 600x400 and adjust window/icon positions * chore: update remote
This commit is contained in:
@@ -200,6 +200,16 @@ const config = {
|
||||
|
||||
dmg: {
|
||||
artifactName: '${productName}-${version}-${arch}.${ext}',
|
||||
background: 'resources/dmg.png',
|
||||
contents: [
|
||||
{ type: 'file', x: 150, y: 240 },
|
||||
{ type: 'link', path: '/Applications', x: 450, y: 240 },
|
||||
],
|
||||
iconSize: 80,
|
||||
window: {
|
||||
height: 400,
|
||||
width: 600,
|
||||
},
|
||||
},
|
||||
|
||||
electronDownload: {
|
||||
@@ -212,6 +222,7 @@ const config = {
|
||||
// Ensure Next export assets are packaged
|
||||
'dist/next/**/*',
|
||||
'!resources/locales',
|
||||
'!resources/dmg.png',
|
||||
'!dist/next/docs',
|
||||
'!dist/next/packages',
|
||||
'!dist/next/.next/server/app/sitemap',
|
||||
|
||||
BIN
apps/desktop/resources/dmg.png
Normal file
BIN
apps/desktop/resources/dmg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
Reference in New Issue
Block a user