File tree Expand file tree Collapse file tree 3 files changed +7
-13
lines changed
Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 11[Desktop Entry]
2- Version =1.0
32Name =TIC-80
43Comment =Fantasy computer for making, playing and sharing tiny games.
5- Exec =tic80 %U
4+ Exec =tic80 %f
65Icon =tic80
76Terminal =false
87Type =Application
9- Categories =Education
10- MimeType =application/x-tic80-item;
8+ Categories =Game;Emulator;
9+ MimeType =application/x-tic80-item;image/png;
1110GenericName =TIC-80
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<mime-info xmlns =" http://www.freedesktop.org/standards/shared-mime-info" >
33 <mime-type type =" application/x-tic80-item" >
4- <sub-class-of type =" text/xml" />
5- <sub-class-of type =" application/xml" />
6- <comment >Fantasy computer for making, playing and sharing tiny games.</comment >
4+ <comment >TIC-80 cartridge</comment >
75 <icon >tic80</icon >
8- <glob pattern =" .dmx" weight =" 50" />
9- <magic priority =" 90" >
10- <match type =" string" offset =" 2" value =" !DOCTYPE DBM" />
11- </magic >
12- <root-XML localName =" tic80" />
6+ <glob pattern =" *.tic" />
137 </mime-type >
148 </mime-info >
Original file line number Diff line number Diff line change @@ -232,10 +232,11 @@ if(BUILD_SDL)
232232 install (TARGETS ${TIC80_TARGET} DESTINATION bin)
233233
234234 SET (TIC80_DESKTOP_DIR "share/applications/" )
235+ SET (TIC80_MIME_DIR "share/mime/packages/" )
235236 SET (TIC80_PIXMAPS_DIR "share/icons/" )
236237
237238 install (FILES ${PROJECT_SOURCE_DIR} /build /linux/tic80.desktop DESTINATION ${TIC80_DESKTOP_DIR} )
238- install (FILES ${PROJECT_SOURCE_DIR} /build /linux/tic80.xml DESTINATION ${TIC80_DESKTOP_DIR } )
239+ install (FILES ${PROJECT_SOURCE_DIR} /build /linux/tic80.xml DESTINATION ${TIC80_MIME_DIR } )
239240 install (FILES ${PROJECT_SOURCE_DIR} /build /linux/tic80.png DESTINATION ${TIC80_PIXMAPS_DIR} )
240241
241242 endif ()
You can’t perform that action at this time.
0 commit comments