Skip to content

Commit cf955c6

Browse files
committed
img resized
1 parent 659fc65 commit cf955c6

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/actions/create-dmg/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ runs:
3737
# Copy background image if provided and exists
3838
if [ -f "${{ inputs.dmg_background_path }}" ]; then
3939
cp "${{ inputs.dmg_background_path }}" "dmg-stage/background.jpg"
40+
# Resize background to match window size exactly (700x500)
41+
sips -z 500 700 "dmg-stage/background.jpg"
4042
else
4143
echo "::warning::Background image not found at ${{ inputs.dmg_background_path }}. DMG will be created without custom background."
4244
fi
13.6 KB
Loading

0 commit comments

Comments
 (0)