Update macOS DMG window height for improved layout
All checks were successful
farmcontrol/farmcontrol-server/pipeline/head This commit looks good

- Increased the DMG window height from 380 to 410 pixels to enhance the visual presentation of the application during installation.
- This change aims to provide a better user experience by accommodating additional content within the window.
This commit is contained in:
Tom Butcher 2026-08-01 23:37:58 +01:00
parent ffe8bce3a5
commit 564b200d3c

View File

@ -199,7 +199,7 @@ const MAC_DMG_BACKGROUND_RETINA_PATH = path.join(
); );
const MAC_DMG_APP_NAME = "Farm Control Server.app"; const MAC_DMG_APP_NAME = "Farm Control Server.app";
const MAC_DMG_WINDOW_WIDTH = 540; const MAC_DMG_WINDOW_WIDTH = 540;
const MAC_DMG_WINDOW_HEIGHT = 380; const MAC_DMG_WINDOW_HEIGHT = 410;
function ensureMacDmgAssets() { function ensureMacDmgAssets() {
mkdirSync(MAC_DMG_ASSETS_DIR, { recursive: true }); mkdirSync(MAC_DMG_ASSETS_DIR, { recursive: true });
@ -283,7 +283,7 @@ function buildMacDmgWithCreateDmg(
appBundleName, appBundleName,
"--app-drop-link", "--app-drop-link",
"282", "282",
"270", "250",
"--format", "--format",
"UDZO", "UDZO",
]; ];