diff --git a/ch.gnugen.Moody.appdata.xml b/ch.gnugen.Moody.appdata.xml index ef5527326360e3eb79b4581727ece4917c412d76..30f26ef1ba7288b03bf2e5168003a829f446f842 100644 --- a/ch.gnugen.Moody.appdata.xml +++ b/ch.gnugen.Moody.appdata.xml @@ -9,6 +9,10 @@ <description> <p> + [Insert here an explaination of what the app is doing] + </p> + <p> + Moody is an app to access Moodle, though it currently only works with the EPFL one, I'd like it to change! </p> </description> @@ -32,7 +36,7 @@ </provides> <releases> - <release version="1.0" date="2019-05-31"> + <release version="0.1" date="2019-06-06"> <description> <p>The first «works for all Moodle» version, you can set your password and access about every file diff --git a/ch.gnugen.Moody.desktop b/ch.gnugen.Moody.desktop index 86be566538be3bd7c8105e750bda7a123d0a4b6c..1298d572364b3d62b06da7bac300da2038a3454d 100755 --- a/ch.gnugen.Moody.desktop +++ b/ch.gnugen.Moody.desktop @@ -2,7 +2,7 @@ Type=Application Name=Moody GenericName=Moodle client -TryExec=moody -Exec=moody +TryExec=@exec_dir@/moody +Exec=@exec_dir@/moody Terminal=true StartupNotify=true diff --git a/ch.gnugen.Moody.json b/ch.gnugen.Moody.json index 14b1ea109100ead4407f470d415d0cb8a5ab5564..f32597da484c5ef6e56fa950ea69bb0d379a4f07 100644 --- a/ch.gnugen.Moody.json +++ b/ch.gnugen.Moody.json @@ -3,7 +3,7 @@ "runtime" : "org.gnome.Platform", "runtime-version" : "3.30", "sdk" : "org.gnome.Sdk", - "license" : "GPLv3+", + "license" : "GPL-3.0+", "command" : "moody", "tags" : [ "devel", @@ -80,4 +80,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/meson.build b/meson.build index 17286796826ae3ab1b1057eb3a803c9568a00d75..210d01099a29e81d238c19ed127b8a8517e66cd8 100644 --- a/meson.build +++ b/meson.build @@ -99,8 +99,15 @@ summary = [ message('\n'.join(summary)) +configure_file( + input: 'ch.gnugen.Moody.desktop', + output: 'ch.gnugen.Moody.desktop', + copy: true, + install: true, + install_dir: join_paths(get_option('datadir'), 'applications') +) install_data('ch.gnugen.Moody.gschema.xml', install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')) -install_data('ch.gnugen.Moody.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) +install_data('ch.gnugen.Moody.appdata.xml', install_dir: join_paths(get_option('datadir'), 'metainfo')) meson.add_install_script('meson_post_install.py') gnome.compile_schemas(depend_files: 'ch.gnugen.Moody.gresources.xml')