Skip to content

Commit

Permalink
Icons: Protect from reuse false recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Sep 12, 2024
1 parent 47138d9 commit 4a69ff5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .icons/rebuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
outname = outname + ".png"
cairosvg.svg2png(bytestring=svg, write_to=outname, output_width=20, output_height=20)
with open(outname + ".license", "w") as licensefile:
print("SPDX-License-Identifier: CC-BY-3.0", file=licensefile)
# String is split up because reuse tools would otherwise think this applies here
print("SPDX-License" + "-Identifier: CC-BY-3.0", file=licensefile)
print(f"SPDX-License-CopyrightText: {author}", file=licensefile)
print(f"Original file from https://game-icons.net/1x1/{author}/{iconname}.html", file=licensefile)

0 comments on commit 4a69ff5

Please sign in to comment.