Update License date and improve rcedit DLL metadata (#919)

* rcedit add architecture and original filename

* Update LICENSE to 2025
This commit is contained in:
JupiterRider 2025-06-08 12:16:38 +02:00 committed by GitHub
parent 8b30fe51d4
commit 8b0eab28cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -181,14 +181,16 @@ jobs:
wget -O rcedit.exe https://github.com/electron/rcedit/releases/download/v2.0.0/rcedit-${{ matrix.arch }}.exe
chmod +x ./rcedit.exe
./rcedit.exe "${{ matrix.host }}"/.libs/libffi-8.dll \
dll_filename=libffi-8.dll
./rcedit.exe "${{ matrix.host }}"/.libs/$dll_filename \
--set-file-version "$maj.$min.$pat.$build" \
--set-product-version "$maj.$min.$pat.$build" \
--set-version-string "CompanyName" "https://github.com/libffi/libffi" \
--set-version-string "FileDescription" "Portable foreign function interface library" \
--set-version-string "FileDescription" "Portable foreign function interface library (${{ matrix.arch }})" \
--set-version-string "ProductName" "libffi" \
--set-version-string "FileVersion" "${{ steps.ver.outputs.version }}" \
--set-version-string "LegalCopyright" "Copyright (c) 1996-2025 Anthony Green and others"
--set-version-string "LegalCopyright" "Copyright (c) 1996-2025 Anthony Green and others" \
--set-version-string "OriginalFilename" "$dll_filename"
- name: Create binary distribution
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'

View File

@ -1,4 +1,4 @@
libffi - Copyright (c) 1996-2024 Anthony Green, Red Hat, Inc and others.
libffi - Copyright (c) 1996-2025 Anthony Green, Red Hat, Inc and others.
See source files for details.
Permission is hereby granted, free of charge, to any person obtaining