Skip to content

Commit e97d36f

Browse files
committed
desktop file: use dynamic value for desc instead of hardcoded one
1 parent 3728537 commit e97d36f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

assets/oopetris.desktop.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Version=1.0
33
Type=Application
44
Name=OOPetris
5-
Comment=A Tetris clone in OOP
5+
Comment=@DESCRIPTION@
66
Exec=oopetris
77
Icon=@APP_NAME@
88
Terminal=false

tools/install/meson.build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ if is_flatpak_build
1313
app_name = 'com.github.mgerhold.OOPetris'
1414
endif
1515

16-
conf = configuration_data()
17-
conf.set('APP_NAME', app_name)
16+
conf = configuration_data({'DESCRIPTION': oopetris_desc, 'APP_NAME': app_name})
1817

1918
datadir = get_option('prefix') / get_option('datadir')
2019

0 commit comments

Comments
 (0)