Bring back info.plist with meson configuration
This commit is contained in:
parent
4732ba743d
commit
d42a9173fe
|
@ -83,7 +83,13 @@ elif get_option('bundle') and host_machine.system() == 'darwin'
|
||||||
lite_docdir = 'Contents/Resources'
|
lite_docdir = 'Contents/Resources'
|
||||||
lite_datadir = 'Contents/Resources'
|
lite_datadir = 'Contents/Resources'
|
||||||
install_data('resources/icons/icon.icns', install_dir : '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
|
else
|
||||||
lite_bindir = 'bin'
|
lite_bindir = 'bin'
|
||||||
lite_docdir = 'share/doc/lite-xl'
|
lite_docdir = 'share/doc/lite-xl'
|
||||||
|
|
|
@ -19,8 +19,9 @@
|
||||||
<key>NSDesktopFolderUsageDescription</key><string>To access, edit and index your projects.</string>
|
<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>NSDownloadsFolderUsageDescription</key><string>To access, edit and index your projects.</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>2.0</string>
|
<string>@PROJECT_VERSION@</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
<string>© 2019-2021 Francesco Abbate</string>
|
<string>© 2019-2021 Francesco Abbate</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
Loading…
Reference in New Issue