Compare commits

..

4 Commits

Author SHA1 Message Date
Evan Husted
4a86e6d6b1 Merge branch 'master' into fix-mime-buttons 2024-11-19 02:01:07 -06:00
Nicola
e46babe362 Merge branch 'master' into fix-mime-buttons 2024-11-18 09:32:06 +01:00
Nicola
34dc6960ea Merge branch 'master' into fix-mime-buttons 2024-11-14 16:18:36 +01:00
Nicola
7aff44c42b Fixed mime types button not updating afte clicked 2024-11-14 16:16:24 +01:00
2 changed files with 5 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
name: ${{ steps.version_info.outputs.build_version }}
artifacts: "release_output/*.tar.gz,release_output/*.zip,release_output/*AppImage*"
artifacts: "release_output/*.tar.gz,release_output/*.zip/*AppImage*"
tag: ${{ steps.version_info.outputs.build_version }}
body: "**Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ steps.version_info.outputs.prev_build_version }}...${{ steps.version_info.outputs.build_version }}"
omitBodyDuringUpdate: true

View File

@@ -101,13 +101,13 @@ namespace Ryujinx.UI.Common.Helper
{
RegistryKey key = Registry.CurrentUser.OpenSubKey(@$"Software\Classes\{ext}");
var openCmd = key?.OpenSubKey(@"shell\open\command");
if (openCmd is null)
if (key is null)
{
return false;
}
var openCmd = key.OpenSubKey(@"shell\open\command");
string keyValue = (string)openCmd.GetValue(string.Empty);
return keyValue is not null && (keyValue.Contains("Ryujinx") || keyValue.Contains(AppDomain.CurrentDomain.FriendlyName));