Backport changes for the freedesktop module.
This commit is contained in:
parent
e7a23df3e6
commit
5e3c23c460
|
@ -34,13 +34,14 @@ import "freedesktop2.js" as Fdo
|
||||||
|
|
||||||
Module {
|
Module {
|
||||||
property string name: product.name
|
property string name: product.name
|
||||||
|
property string appName: name
|
||||||
|
|
||||||
property var desktopKeys
|
property var desktopKeys
|
||||||
|
|
||||||
readonly property var defaultDesktopKeys: {
|
readonly property var defaultDesktopKeys: {
|
||||||
return {
|
return {
|
||||||
'Type': 'Application',
|
'Type': 'Application',
|
||||||
'Name': product.freedesktop2.name,
|
'Name': product.freedesktop2.appName,
|
||||||
'Exec': product.targetName,
|
'Exec': product.targetName,
|
||||||
'Terminal': 'false',
|
'Terminal': 'false',
|
||||||
'Version': '1.1',
|
'Version': '1.1',
|
||||||
|
@ -56,7 +57,6 @@ Module {
|
||||||
}
|
}
|
||||||
|
|
||||||
Rule {
|
Rule {
|
||||||
alwaysRun: true
|
|
||||||
condition: _fdoSupported
|
condition: _fdoSupported
|
||||||
|
|
||||||
inputs: [ "freedesktop.desktopfile_source" ]
|
inputs: [ "freedesktop.desktopfile_source" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user