1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-21 23:32:35 +00:00

libtransmission: fix copyright header generation (#6874)

This is related to #4850 since libtransmission/mime-types.js generates
libtransmission/mime-types.h and puts it there.
Also add a note that the file is automatically generated for good measure.
This commit is contained in:
Laura Kirsch 2024-06-01 16:39:33 +02:00 committed by GitHub
parent 2b75869c80
commit f3f887c93e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,6 @@
// This file was generated with libtransmission/mime-types.js
// DO NOT EDIT MANUALLY
// This file Copyright © Mnemosyne LLC.
// It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
// or any future license endorsed by Mnemosyne LLC.

View file

@ -1,7 +1,10 @@
#!/usr/bin/env node
const copyright =
`// This file Copyright © 2021-${new Date().getFullYear()} Mnemosyne LLC.
`// This file was generated with libtransmission/mime-types.js
// DO NOT EDIT MANUALLY
// This file Copyright © Mnemosyne LLC.
// It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
// or any future license endorsed by Mnemosyne LLC.
// License text can be found in the licenses/ folder.`;