Bring back info.plist with meson configuration

This commit is contained in:
Timofffee 2021-09-03 15:50:44 +04:00 committed by Francesco Abbate
parent 4732ba743d
commit d42a9173fe
2 changed files with 9 additions and 2 deletions

View File

@ -83,7 +83,13 @@ elif get_option('bundle') and host_machine.system() == 'darwin'
lite_docdir = 'Contents/Resources'
lite_datadir = 'Contents/Resources'
install_data('resources/icons/icon.icns', install_dir : 'Contents/Resources')
install_data('resources/macos/Info.plist', install_dir : 'Contents')
configure_file(
input : 'resources/macos/Info.plist.in',
output : 'Info.plist',
configuration : conf_data,
install : true,
install_dir : 'Contents'
)
else
lite_bindir = 'bin'
lite_docdir = 'share/doc/lite-xl'

View File

@ -19,8 +19,9 @@
<key>NSDesktopFolderUsageDescription</key><string>To access, edit and index your projects.</string>
<key>NSDownloadsFolderUsageDescription</key><string>To access, edit and index your projects.</string>
<key>CFBundleShortVersionString</key>
<string>2.0</string>
<string>@PROJECT_VERSION@</string>
<key>NSHumanReadableCopyright</key>
<string>© 2019-2021 Francesco Abbate</string>
</dict>
</plist>