aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimofffee <krougz@live.ru>2021-09-03 15:50:44 +0400
committerFrancesco <francesco.bbt@gmail.com>2021-09-03 14:36:36 +0200
commit8866a5dddfafc60adb7e322c58a239ded739be7f (patch)
tree2d56fadba9c84b7d841e0f61a656450473ff0208
parente8f5a5e00299437cc060ebce63e1ad28f55237df (diff)
downloadlite-xl-8866a5dddfafc60adb7e322c58a239ded739be7f.tar.gz
lite-xl-8866a5dddfafc60adb7e322c58a239ded739be7f.zip
Update meson.build
-rw-r--r--meson.build8
-rw-r--r--resources/macos/Info.plist.in (renamed from resources/macos/Info.plist)2
2 files changed, 8 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 3d5f9da9..7e9b4ab1 100644
--- a/meson.build
+++ b/meson.build
@@ -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'
diff --git a/resources/macos/Info.plist b/resources/macos/Info.plist.in
index 921264a3..54aca89e 100644
--- a/resources/macos/Info.plist
+++ b/resources/macos/Info.plist.in
@@ -31,7 +31,7 @@
<key>NSDownloadsFolderUsageDescription</key>
<string>To access, edit and index your projects.</string>
<key>CFBundleShortVersionString</key>
- <string>2.0.1</string>
+ <string>@PROJECT_VERSION@</string>
<key>NSHumanReadableCopyright</key>
<string>© 2019-2021 Francesco Abbate</string>
</dict>