Update macOS copyright notice (#1815)

* resources: update copyright in info.plist

* meson.build: dynamically generate current year

"present" may be misleading.

* resources/macos: remove unecessary newlines
This commit is contained in:
Takase 2024-06-18 21:00:14 +08:00 committed by GitHub
parent a9d918901e
commit 646b43bd37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -192,6 +192,10 @@ elif get_option('bundle') and host_machine.system() == 'darwin'
lite_bindir = 'Contents/MacOS' lite_bindir = 'Contents/MacOS'
lite_docdir = 'Contents/Resources' lite_docdir = 'Contents/Resources'
lite_datadir = 'Contents/Resources' lite_datadir = 'Contents/Resources'
conf_data.set(
'CURRENT_YEAR',
run_command('date', '+%Y', capture: true).stdout().strip()
)
install_data('resources/icons/icon.icns', install_dir : 'Contents/Resources') install_data('resources/icons/icon.icns', install_dir : 'Contents/Resources')
configure_file( configure_file(
input : 'resources/macos/Info.plist.in', input : 'resources/macos/Info.plist.in',

View File

@ -27,7 +27,9 @@
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>@PROJECT_VERSION@</string> <string>@PROJECT_VERSION@</string>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>© 2019-2022 Lite XL Team</string> <string>© 2020 rxi
© 2020-2022 Francesco Abbate
© 2022-@CURRENT_YEAR@ Lite XL Team</string>
</dict> </dict>
</plist> </plist>