aboutsummaryrefslogtreecommitdiff
path: root/distribution/linux/mime
diff options
context:
space:
mode:
authorRMED24 <81475204+RMED24@users.noreply.github.com>2023-01-07 08:06:13 +0000
committerGitHub <noreply@github.com>2023-01-07 09:06:13 +0100
commitcbaa845f5d51fe61a46d1a57950aa76a0a976d3e (patch)
tree952dbd2ec9dcc83e8c9ba5b9f4910808068b22bb /distribution/linux/mime
parent9e2681f2d7e9b36af30f600b79107cb9cd6aa5f1 (diff)
Include a start.sh file with correct launch options (#4013)1.1.516
* Include reference to start.sh to be bundled * Add start.sh * Fix silly mistake I made on windows-x64 * ... I cannot read properly * Make same changes for avalonia csproj * Remove notice from start.sh Co-authored-by: Mary-nyan <thog@protonmail.com> * Update Ryujinx/Ryujinx.csproj Co-authored-by: Mary-nyan <thog@protonmail.com> * Update Ryujinx.Ava/Ryujinx.Ava.csproj Co-authored-by: Mary-nyan <thog@protonmail.com> * Update distribution/linux/start.sh Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com> * Update distribution/linux/start.sh Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com> * Update Ryujinx.Ava/Ryujinx.Ava.csproj Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com> * Update Ryujinx.csproj * Update Ryujinx.Ava.csproj * Rename start.sh to Ryujinx.sh * Update Ryujinx.csproj * Update Ryujinx.Ava.csproj * Update Ryujinx.Ava.csproj * Update Ryujinx.Ava/Ryujinx.Ava.csproj Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com> * Add `GDK_BACKEND` variable * Update Ryujinx.Ava.csproj * Update Program.cs * Update Program.cs * Update Ryujinx.sh * Update Program.cs * linux: Register mime types on launch * Add DOTNET_EnableAlternateStackCheck=1 to desktop file * linux: Add exclusion for RegisterMimeTypes for flathub builds * Update logo path * Cleanup Ryujinx.sh * Fix typo in ReleaseInformation * gha: Fix permissions for linux release binaries * ava: Rename output assembly to Ryujinx * Update mime database after installing new types Wait until logging is available before registering mime types * Copy mime types to output directory Co-authored-by: Mary-nyan <thog@protonmail.com> Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
Diffstat (limited to 'distribution/linux/mime')
-rw-r--r--distribution/linux/mime/Ryujinx.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/distribution/linux/mime/Ryujinx.xml b/distribution/linux/mime/Ryujinx.xml
new file mode 100644
index 00000000..bd9df0ed
--- /dev/null
+++ b/distribution/linux/mime/Ryujinx.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="application/x-nx-nca">
+ <comment>Nintendo Content Archive</comment>
+ <acronym>NCA</acronym>
+ <glob pattern="*.nca"/>
+ <magic><match value="NCA" type="string" offset="512"/></magic>
+ </mime-type>
+ <mime-type type="application/x-nx-nro">
+ <comment>Nintendo Relocatable Object</comment>
+ <acronym>NRO</acronym>
+ <glob pattern="*.nro"/>
+ <magic><match value="NRO0" type="string" offset="16"/></magic>
+ </mime-type>
+ <mime-type type="application/x-nx-nso">
+ <comment>Nintendo Shared Object</comment>
+ <acronym>NSO</acronym>
+ <glob pattern="*.nso"/>
+ <magic><match value="NSO0" type="string" offset="0"/></magic>
+ </mime-type>
+ <mime-type type="application/x-nx-nsp">
+ <comment>Nintendo Submission Package</comment>
+ <acronym>NSP</acronym>
+ <glob pattern="*.nsp"/>
+ <magic><match value="PFS0" type="string" offset="0"/></magic>
+ </mime-type>
+ <mime-type type="application/x-nx-xci">
+ <comment>Nintendo Switch Cartridge</comment>
+ <acronym>XCI</acronym>
+ <glob pattern="*.xci"/>
+ <magic><match value="HEAD" type="string" offset="4352"/></magic>
+ </mime-type>
+</mime-info>