mime entry and file association
parent
3b5bdd2e07
commit
63c09b46aa
3
notes
3
notes
|
@ -40,8 +40,7 @@ TODO {
|
|||
- IPC to open/new window in existing instance
|
||||
revert action
|
||||
|
||||
xdg mime package + desktop file association
|
||||
application/x-xybrid-project
|
||||
- xdg mime package + desktop file association
|
||||
}
|
||||
|
||||
clear song info on loading template?
|
||||
|
|
|
@ -8,5 +8,6 @@ Categories=Audio;Sequencer;Qt;
|
|||
Icon=xybrid
|
||||
|
||||
Path=/opt/xybrid/bin
|
||||
Exec=/opt/xybrid/bin/xybrid
|
||||
Exec=/opt/xybrid/bin/xybrid %f
|
||||
MimeType=application/x-xybrid-project
|
||||
Terminal=false
|
||||
|
|
|
@ -71,3 +71,7 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|||
desktop.path = /usr/share/applications
|
||||
desktop.files += xybrid.desktop
|
||||
INSTALLS += desktop
|
||||
|
||||
mime.path = /usr/share/mime/packages
|
||||
mime.files += xybrid.xml
|
||||
INSTALLS += mime
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/x-xybrid-project">
|
||||
<sub-class-of type="application/octet-stream"/>
|
||||
<comment>Xybrid project file</comment>
|
||||
<glob pattern="*.xyp"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
Loading…
Reference in New Issue