Skip to content

Commit

Permalink
Add dark mode version of the installer background image.
Browse files Browse the repository at this point in the history
Update the `distribution.xml` file to include the
`<background-darkAqua>` tag.
  • Loading branch information
donmccaughey committed Oct 27, 2021
1 parent 6c0c6fa commit a913a32
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ xz-$(version).pkg : \
$(TMP)/build-report.txt \
$(TMP)/distribution.xml \
$(TMP)/resources/background.png \
$(TMP)/resources/background-darkAqua.png \
$(TMP)/resources/license.html \
$(TMP)/resources/welcome.html
productbuild \
Expand Down Expand Up @@ -183,6 +184,7 @@ $(TMP)/resources/welcome.html : $(TMP)/% : % | $$(dir $$@)
$< > $@

$(TMP)/resources/background.png \
$(TMP)/resources/background-darkAqua.png \
$(TMP)/resources/license.html : $(TMP)/% : % | $(TMP)/resources
cp $< $@

Expand Down
1 change: 1 addition & 0 deletions distribution.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<title>XZ Utils {{version}}</title>

<background alignment="center" file="background.png" mime-type="image/png" scaling="tofit"/>
<background-darkAqua alignment="center" file="background-darkAqua.png" mime-type="image/png" scaling="tofit"/>
<welcome file="welcome.html" mime-type="text/html"/>
<license file="license.html" mime-type="text/html"/>

Expand Down
Binary file added resources/background-darkAqua.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/background.pxm
Binary file not shown.

0 comments on commit a913a32

Please sign in to comment.