Commit 81ef4cd4 authored by Dick Hollenbeck's avatar Dick Hollenbeck

add mime type application/x-pcbnew-pcb, extend Desktop Exec to support a file...

add mime type application/x-pcbnew-pcb, extend Desktop Exec to support a file to open on command line
parent 69dccf19
......@@ -484,7 +484,7 @@ if( UNIX )
set( UNIX_MIME_DIR resources/linux/mime )
set( UNIX_MIMELNK_FILES ${UNIX_MIME_DIR}/mimelnk )
set( UNIX_MIME_FILES ${UNIX_MIME_DIR}/mime )
set( UNIX_ICONS_FILES ${UNIX_MIME_DIR}/icons )
set( UNIX_ICON_FILES ${UNIX_MIME_DIR}/icons )
set( UNIX_APPLICATIONS_FILES ${UNIX_MIME_DIR}/applications )
# Install Mimelnk directory
......@@ -494,7 +494,7 @@ if( UNIX )
)
# Install Mime directory
install( DIRECTORY ${UNIX_ICONS_FILES}
install( DIRECTORY ${UNIX_ICON_FILES}
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
COMPONENT resources
)
......
......@@ -2,7 +2,7 @@
Categories=Development;Electronics
Comment=Design an electronic schematic
Comment[fr]=Dessiner des schémas électroniques
Exec=eeschema
Exec=eeschema %f
GenericName=Electronic schematic design
GenericName[fr]=Saisie de schéma électronique
Icon=eeschema
......
......@@ -2,7 +2,7 @@
Categories=Development;Electronics
Comment=Design a printed circuit board
Comment[fr]=Concevoir un circuit imprimé
Exec=kicad
Exec=kicad %f
GenericName=EDA Suite
GenericName[fr]=Suite logicielle de conception électronique
Icon=kicad
......
......@@ -2,10 +2,10 @@
[Desktop Entry]
Categories=Development;Electronics
Comment=Design a printed circuit board
Exec=pcbnew
Exec=pcbnew %f
GenericName=EDA Suite
Icon=pcbnew
MimeType=application/x-pcbnew-project;
MimeType=application/x-pcbnew-pcb;
Name=pcbnew
Type=Application
Name[en_US]=pcbnew
[Desktop Entry]
Type=MimeType
MimeType=application/x-kicad-pcb
Icon=pcbnew
Patterns=*.kicad_pcb
Comment=KiCad Printed Circuit Board
#Comment[fr]=Schéma électronique KiCad
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment