mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-17 03:00:53 -05:00
Compare commits
62 Commits
1.2.73
...
Canary-1.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
008d908c5a | ||
|
|
722953211d | ||
|
|
df5002bdbf | ||
|
|
f4b757c584 | ||
|
|
25d69079cb | ||
|
|
2e1ede5348 | ||
|
|
52f42d450f | ||
|
|
11416e2167 | ||
|
|
e5d076a1b2 | ||
|
|
d394dd769a | ||
|
|
6de3afc43d | ||
|
|
9b90e81817 | ||
|
|
1e53a17041 | ||
|
|
0c23104792 | ||
|
|
1ed2aea029 | ||
|
|
34caa03385 | ||
|
|
104701e80d | ||
|
|
cef88febb2 | ||
|
|
5fccfb76b9 | ||
|
|
4cb5946be4 | ||
|
|
e1dfb48e23 | ||
|
|
6d8738c048 | ||
|
|
abfcfcaf0f | ||
|
|
d404a8b05b | ||
|
|
42cbe24bb1 | ||
|
|
79ba9d1258 | ||
|
|
826ffd4a04 | ||
|
|
7369079459 | ||
|
|
a506d81989 | ||
|
|
15c20920b3 | ||
|
|
285ee276b6 | ||
|
|
617b81e209 | ||
|
|
eb6ce7bcb3 | ||
|
|
69f75f2df1 | ||
|
|
10c8d73b60 | ||
|
|
e01a30016e | ||
|
|
e26625dfd5 | ||
|
|
9c82d98ec4 | ||
|
|
4aae82bad1 | ||
|
|
299be822c4 | ||
|
|
b17e4f79fb | ||
|
|
a7b58df3fe | ||
|
|
8c2d6192ba | ||
|
|
2a23000fed | ||
|
|
ab7d0a2e6d | ||
|
|
bd2681b2f9 | ||
|
|
640d7f9e77 | ||
|
|
02e8278438 | ||
|
|
6acd86c890 | ||
|
|
708256ce96 | ||
|
|
5bf50836e1 | ||
|
|
730ba44043 | ||
|
|
36c374cc7a | ||
|
|
75f714488e | ||
|
|
4831965404 | ||
|
|
47b8145809 | ||
|
|
20cc21add6 | ||
|
|
683baec1af | ||
|
|
f4957d2a09 | ||
|
|
3e1182af22 | ||
|
|
6664ed1b11 | ||
|
|
0c88b9eff7 |
@@ -102,7 +102,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
private float _volumeBeforeMute;
|
private float _volumeBeforeMute;
|
||||||
private string _backendText;
|
private string _backendText;
|
||||||
|
|
||||||
private bool _areMimeTypesRegistered = FileAssociationHelper.AreMimeTypesRegistered;
|
|
||||||
private bool _canUpdate = true;
|
private bool _canUpdate = true;
|
||||||
private Cursor _cursor;
|
private Cursor _cursor;
|
||||||
private string _title;
|
private string _title;
|
||||||
@@ -805,15 +804,10 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
{
|
{
|
||||||
get => FileAssociationHelper.IsTypeAssociationSupported;
|
get => FileAssociationHelper.IsTypeAssociationSupported;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool AreMimeTypesRegistered
|
public bool AreMimeTypesRegistered
|
||||||
{
|
{
|
||||||
get => _areMimeTypesRegistered;
|
get => FileAssociationHelper.AreMimeTypesRegistered;
|
||||||
set {
|
|
||||||
_areMimeTypesRegistered = value;
|
|
||||||
|
|
||||||
OnPropertyChanged();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObservableCollectionExtended<ApplicationData> Applications
|
public ObservableCollectionExtended<ApplicationData> Applications
|
||||||
|
|||||||
@@ -165,8 +165,7 @@ namespace Ryujinx.Ava.UI.Views.Main
|
|||||||
|
|
||||||
private async void InstallFileTypes_Click(object sender, RoutedEventArgs e)
|
private async void InstallFileTypes_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
ViewModel.AreMimeTypesRegistered = FileAssociationHelper.Install();
|
if (FileAssociationHelper.Install())
|
||||||
if (ViewModel.AreMimeTypesRegistered)
|
|
||||||
await ContentDialogHelper.CreateInfoDialog(LocaleManager.Instance[LocaleKeys.DialogInstallFileTypesSuccessMessage], string.Empty, LocaleManager.Instance[LocaleKeys.InputDialogOk], string.Empty, string.Empty);
|
await ContentDialogHelper.CreateInfoDialog(LocaleManager.Instance[LocaleKeys.DialogInstallFileTypesSuccessMessage], string.Empty, LocaleManager.Instance[LocaleKeys.InputDialogOk], string.Empty, string.Empty);
|
||||||
else
|
else
|
||||||
await ContentDialogHelper.CreateErrorDialog(LocaleManager.Instance[LocaleKeys.DialogInstallFileTypesErrorMessage]);
|
await ContentDialogHelper.CreateErrorDialog(LocaleManager.Instance[LocaleKeys.DialogInstallFileTypesErrorMessage]);
|
||||||
@@ -174,8 +173,7 @@ namespace Ryujinx.Ava.UI.Views.Main
|
|||||||
|
|
||||||
private async void UninstallFileTypes_Click(object sender, RoutedEventArgs e)
|
private async void UninstallFileTypes_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
ViewModel.AreMimeTypesRegistered = !FileAssociationHelper.Uninstall();
|
if (FileAssociationHelper.Uninstall())
|
||||||
if (!ViewModel.AreMimeTypesRegistered)
|
|
||||||
await ContentDialogHelper.CreateInfoDialog(LocaleManager.Instance[LocaleKeys.DialogUninstallFileTypesSuccessMessage], string.Empty, LocaleManager.Instance[LocaleKeys.InputDialogOk], string.Empty, string.Empty);
|
await ContentDialogHelper.CreateInfoDialog(LocaleManager.Instance[LocaleKeys.DialogUninstallFileTypesSuccessMessage], string.Empty, LocaleManager.Instance[LocaleKeys.InputDialogOk], string.Empty, string.Empty);
|
||||||
else
|
else
|
||||||
await ContentDialogHelper.CreateErrorDialog(LocaleManager.Instance[LocaleKeys.DialogUninstallFileTypesErrorMessage]);
|
await ContentDialogHelper.CreateErrorDialog(LocaleManager.Instance[LocaleKeys.DialogUninstallFileTypesErrorMessage]);
|
||||||
|
|||||||
Reference in New Issue
Block a user