mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-08 10:25:39 +00:00
MIMETYPE: installing mimetype to allow double clicking on a file and run it via RetroDECK
This commit is contained in:
parent
afb958e300
commit
58b77d4ab8
134
config/retrodeck/net.retrodeck.retrodeck.mime.xml
Normal file
134
config/retrodeck/net.retrodeck.retrodeck.mime.xml
Normal file
|
@ -0,0 +1,134 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/retro-game">
|
||||
<comment>Retro Game</comment>
|
||||
<glob pattern="*.2d"/>
|
||||
<glob pattern="*.2hd"/>
|
||||
<glob pattern="*.2mg"/>
|
||||
<glob pattern="*.32x"/>
|
||||
<glob pattern="*.360"/>
|
||||
<glob pattern="*.3ds"/>
|
||||
<glob pattern="*.3dsen"/>
|
||||
<glob pattern="*.3dsx"/>
|
||||
<glob pattern="*.68k"/>
|
||||
<glob pattern="*.7z"/>
|
||||
<glob pattern="*.88d"/>
|
||||
<glob pattern="*.98d"/>
|
||||
<glob pattern="*.a26"/>
|
||||
<glob pattern="*.a52"/>
|
||||
<glob pattern="*.a78"/>
|
||||
<glob pattern="*.abs"/>
|
||||
<glob pattern="*.adf"/>
|
||||
<glob pattern="*.adl"/>
|
||||
<glob pattern="*.adm"/>
|
||||
<glob pattern="*.ads"/>
|
||||
<glob pattern="*.adz"/>
|
||||
<glob pattern="*.agb"/>
|
||||
<glob pattern="*.apd"/>
|
||||
<glob pattern="*.app"/>
|
||||
<glob pattern="*.arduboy"/>
|
||||
<glob pattern="*.atr"/>
|
||||
<glob pattern="*.atx"/>
|
||||
<glob pattern="*.axf"/>
|
||||
<glob pattern="*.bat"/>
|
||||
<glob pattern="*.bbc"/>
|
||||
<glob pattern="*.bin"/>
|
||||
<glob pattern="*.bml"/>
|
||||
<glob pattern="*.bms"/>
|
||||
<glob pattern="*.bs"/>
|
||||
<glob pattern="*.bsx"/>
|
||||
<glob pattern="*.car"/>
|
||||
<glob pattern="*.cas"/>
|
||||
<glob pattern="*.cbn"/>
|
||||
<glob pattern="*.ccd"/>
|
||||
<glob pattern="*.cci"/>
|
||||
<glob pattern="*.cdi"/>
|
||||
<glob pattern="*.cdm"/>
|
||||
<glob pattern="*.cdr"/>
|
||||
<glob pattern="*.cdt"/>
|
||||
<glob pattern="*.cgb"/>
|
||||
<glob pattern="*.chai"/>
|
||||
<glob pattern="*.chailove"/>
|
||||
<glob pattern="*.chd"/>
|
||||
<glob pattern="*.chf"/>
|
||||
<glob pattern="*.ciso"/>
|
||||
<glob pattern="*.cmd"/>
|
||||
<glob pattern="*.cmt"/>
|
||||
<glob pattern="*.cof"/>
|
||||
<glob pattern="*.col"/>
|
||||
<glob pattern="*.com"/>
|
||||
<glob pattern="*.conf"/>
|
||||
<glob pattern="*.cpr"/>
|
||||
<glob pattern="*.cqi"/>
|
||||
<glob pattern="*.cqm"/>
|
||||
<glob pattern="*.crt"/>
|
||||
<glob pattern="*.cso"/>
|
||||
<glob pattern="*.csw"/>
|
||||
<glob pattern="*.cue"/>
|
||||
<glob pattern="*.cv"/>
|
||||
<glob pattern="*.cxi"/>
|
||||
<glob pattern="*.d2m"/>
|
||||
<glob pattern="*.d4m"/>
|
||||
<glob pattern="*.d64"/>
|
||||
<glob pattern="*.d6z"/>
|
||||
<glob pattern="*.d71"/>
|
||||
<glob pattern="*.d77"/>
|
||||
<glob pattern="*.d7z"/>
|
||||
<glob pattern="*.d80"/>
|
||||
<glob pattern="*.d81"/>
|
||||
<glob pattern="*.d82"/>
|
||||
<glob pattern="*.d88"/>
|
||||
<glob pattern="*.d8z"/>
|
||||
<glob pattern="*.d98"/>
|
||||
<glob pattern="*.dat"/>
|
||||
<glob pattern="*.ddp"/>
|
||||
<glob pattern="*.dfi"/>c
|
||||
<glob pattern="*.dim"/>
|
||||
<glob pattern="*.dms"/>
|
||||
<glob pattern="*.do"/>
|
||||
<glob pattern="*.doom"/>
|
||||
<glob pattern="*.dol"/>
|
||||
<glob pattern="*.dosz"/>
|
||||
<glob pattern="*.dsk"/>
|
||||
<glob pattern="*.dump"/>
|
||||
<glob pattern="*.dx1"/>
|
||||
<glob pattern="*.easyrpg"/>
|
||||
<glob pattern="*.ecm"/>
|
||||
<glob pattern="*.elf"/>
|
||||
<glob pattern="*.exe"/>
|
||||
<glob pattern="*.fdi"/>
|
||||
<glob pattern="*.gb"/>
|
||||
<glob pattern="*.gba"/>
|
||||
<glob pattern="*.gbc"/>
|
||||
<glob pattern="*.gc"/>
|
||||
<glob pattern="*.gen"/>
|
||||
<glob pattern="*.gg"/>
|
||||
<glob pattern="*.fds"/>
|
||||
<glob pattern="*.gdi"/>
|
||||
<glob pattern="*.img"/>
|
||||
<glob pattern="*.iso"/>
|
||||
<glob pattern="*.lha"/>
|
||||
<glob pattern="*.m3u"/>
|
||||
<glob pattern="*.md"/>
|
||||
<glob pattern="*.mdx"/>
|
||||
<glob pattern="*.nes"/>
|
||||
<glob pattern="*.ngc"/>
|
||||
<glob pattern="*.ngp"/>
|
||||
<glob pattern="*.ngpc"/>
|
||||
<glob pattern="*.nsp"/>
|
||||
<glob pattern="*.npc"/>
|
||||
<glob pattern="*.psvita"/>
|
||||
<glob pattern="*.pkg"/>
|
||||
<glob pattern="*.rom"/>
|
||||
<glob pattern="*.rvz"/>
|
||||
<glob pattern="*.sg"/>
|
||||
<glob pattern="*.sgd"/>
|
||||
<glob pattern="*.smd"/>
|
||||
<glob pattern="*.sms"/>
|
||||
<glob pattern="*.scummvm"/>
|
||||
<glob pattern="*.wad"/>
|
||||
<glob pattern="*.wbfs"/>
|
||||
<glob pattern="*.wua"/>
|
||||
<glob pattern="*.zip"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
|
@ -83,6 +83,7 @@
|
|||
<li>New Configurator completely written in GODOT, now with controller support and many more features for you to discover</li>
|
||||
<li>Cli entry --configurator now opens the new Configurator, while --legacy-configurator opens the old, zenity, one</li>
|
||||
<li>New run game engine added to run games via cli, just run `flatpak run net.retrodeck.retrodeck start retrodeck/roms/system/game.ext`, `--help` for more info</li>
|
||||
<li>MIME Type added: this means that you can "open with" or double click your games and run them via RetroDECK thanks to the engine descripted above</li>
|
||||
<li>ES-DE Updated to 3.1.1 with language support and more</li>
|
||||
<li>ES-DE main menu tide up, because of our configurator there were too many entries, moved ES-DE specific configs inside a custom menu</li>
|
||||
<li>New Theme: RetroDECK now got its own custom theme for ES-DE, do you like it? Feel free to give us feedback</li>
|
||||
|
|
|
@ -765,6 +765,7 @@ modules:
|
|||
# Desktop entries
|
||||
- cp net.retrodeck.retrodeck.desktop ${FLATPAK_DEST}/share/applications/net.retrodeck.retrodeck.desktop
|
||||
- cp net.retrodeck.retrodeck.Configurator.desktop /app/share/applications/net.retrodeck.retrodeck.Configurator.desktop
|
||||
- cp net.retrodeck.retrodeck.start.desktop /app/share/applications/net.retrodeck.retrodeck.start.desktop
|
||||
- chmod +x net.retrodeck.retrodeck*desktop
|
||||
|
||||
# Initializing default emulator configs
|
||||
|
@ -790,6 +791,9 @@ modules:
|
|||
- cp config/ruffle/ruffle-rdwrapper.sh "${FLATPAK_DEST}/bin/ruffle-rdwrapper.sh"
|
||||
- chmod +x "${FLATPAK_DEST}/bin/ruffle-rdwrapper.sh"
|
||||
|
||||
# Install MIME Type
|
||||
- install -Dm 644 config/retrodeck/net.retrodeck.retrodeck.mime.xml /app/share/mime/packages/net.retrodeck.retrodeck.mime.xml
|
||||
|
||||
sources:
|
||||
- type: git
|
||||
url: THISREPO
|
||||
|
|
12
retrodeck.retrodeck.start.desktop
Normal file
12
retrodeck.retrodeck.start.desktop
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Desktop Entry]
|
||||
Name=Play with RetroDECK
|
||||
GenericName=Play with RetroDECK
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
Comment=Launch a game with RetroDeck
|
||||
Icon=net.retrodeck.retrodeck
|
||||
Exec=flatpak run net.retrodeck.retrodeck start %f
|
||||
Terminal=false
|
||||
MimeType=application/retro-game;
|
||||
X-Flatpak=net.retrodeck.retrodeck
|
||||
|
Loading…
Reference in a new issue