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-23 09:02:55 +08:00
committed by takase1121
parent 8782c8064f
commit 64b7625b62
2 changed files with 7 additions and 1 deletions
+4
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',
+3 -1
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>