Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e46babe362 | |||
| 34dc6960ea | |||
| 7aff44c42b |
@@ -16,7 +16,6 @@ namespace Ryujinx.UI.Common.Helper
|
|||||||
public static string LaunchPathArg { get; private set; }
|
public static string LaunchPathArg { get; private set; }
|
||||||
public static string LaunchApplicationId { get; private set; }
|
public static string LaunchApplicationId { get; private set; }
|
||||||
public static bool StartFullscreenArg { get; private set; }
|
public static bool StartFullscreenArg { get; private set; }
|
||||||
public static bool HideAvailableUpdates { get; private set; }
|
|
||||||
|
|
||||||
public static void ParseArguments(string[] args)
|
public static void ParseArguments(string[] args)
|
||||||
{
|
{
|
||||||
@@ -94,9 +93,6 @@ namespace Ryujinx.UI.Common.Helper
|
|||||||
|
|
||||||
OverrideHideCursor = args[++i];
|
OverrideHideCursor = args[++i];
|
||||||
break;
|
break;
|
||||||
case "--hide-updates":
|
|
||||||
HideAvailableUpdates = true;
|
|
||||||
break;
|
|
||||||
case "--software-gui":
|
case "--software-gui":
|
||||||
OverrideHardwareAcceleration = false;
|
OverrideHardwareAcceleration = false;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "إدارة المحتوى القابل للتنزيل لـ {0} ({1})",
|
"DlcWindowTitle": "إدارة المحتوى القابل للتنزيل لـ {0} ({1})",
|
||||||
"ModWindowTitle": "إدارة التعديلات لـ {0} ({1})",
|
"ModWindowTitle": "إدارة التعديلات لـ {0} ({1})",
|
||||||
"UpdateWindowTitle": "مدير تحديث العنوان",
|
"UpdateWindowTitle": "مدير تحديث العنوان",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "الغش متوفر لـ {0} [{1}]",
|
"CheatWindowHeading": "الغش متوفر لـ {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "Spiel-DLC verwalten",
|
"DlcWindowTitle": "Spiel-DLC verwalten",
|
||||||
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
||||||
"UpdateWindowTitle": "Spiel-Updates verwalten",
|
"UpdateWindowTitle": "Spiel-Updates verwalten",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "Cheats verfügbar für {0} [{1}]",
|
"CheatWindowHeading": "Cheats verfügbar für {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "Downloadable Content Manager",
|
"DlcWindowTitle": "Downloadable Content Manager",
|
||||||
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
||||||
"UpdateWindowTitle": "Διαχειριστής Ενημερώσεων Τίτλου",
|
"UpdateWindowTitle": "Διαχειριστής Ενημερώσεων Τίτλου",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "Διαθέσιμα Cheats για {0} [{1}]",
|
"CheatWindowHeading": "Διαθέσιμα Cheats για {0} [{1}]",
|
||||||
|
|||||||
@@ -767,8 +767,6 @@
|
|||||||
"XCITrimmerDeselectDisplayed": "Deselect Shown",
|
"XCITrimmerDeselectDisplayed": "Deselect Shown",
|
||||||
"XCITrimmerSortName": "Title",
|
"XCITrimmerSortName": "Title",
|
||||||
"XCITrimmerSortSaved": "Space Savings",
|
"XCITrimmerSortSaved": "Space Savings",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "Cheats Available for {0} [{1}]",
|
"CheatWindowHeading": "Cheats Available for {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "Administrar contenido descargable",
|
"DlcWindowTitle": "Administrar contenido descargable",
|
||||||
"ModWindowTitle": "Administrar Mods para {0} ({1})",
|
"ModWindowTitle": "Administrar Mods para {0} ({1})",
|
||||||
"UpdateWindowTitle": "Administrar actualizaciones",
|
"UpdateWindowTitle": "Administrar actualizaciones",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} nueva(s) actualización(es) agregada(s)",
|
"UpdateWindowUpdateAddedMessage": "{0} nueva(s) actualización(es) agregada(s)",
|
||||||
"UpdateWindowBundledContentNotice": "Las actualizaciones agrupadas no pueden ser eliminadas, solamente deshabilitadas.",
|
"UpdateWindowBundledContentNotice": "Las actualizaciones agrupadas no pueden ser eliminadas, solamente deshabilitadas.",
|
||||||
"CheatWindowHeading": "Cheats disponibles para {0} [{1}]",
|
"CheatWindowHeading": "Cheats disponibles para {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "נהל הרחבות משחק עבור {0} ({1})",
|
"DlcWindowTitle": "נהל הרחבות משחק עבור {0} ({1})",
|
||||||
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
||||||
"UpdateWindowTitle": "נהל עדכוני משחקים",
|
"UpdateWindowTitle": "נהל עדכוני משחקים",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "צ'יטים זמינים עבור {0} [{1}]",
|
"CheatWindowHeading": "צ'יטים זמינים עבור {0} [{1}]",
|
||||||
|
|||||||
@@ -767,8 +767,6 @@
|
|||||||
"XCITrimmerDeselectDisplayed": "Deselziona Visualizzati",
|
"XCITrimmerDeselectDisplayed": "Deselziona Visualizzati",
|
||||||
"XCITrimmerSortName": "Titolo",
|
"XCITrimmerSortName": "Titolo",
|
||||||
"XCITrimmerSortSaved": "Salvataggio Spazio",
|
"XCITrimmerSortSaved": "Salvataggio Spazio",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} aggiornamento/i aggiunto/i",
|
"UpdateWindowUpdateAddedMessage": "{0} aggiornamento/i aggiunto/i",
|
||||||
"UpdateWindowBundledContentNotice": "Gli aggiornamenti inclusi non possono essere eliminati, ma solo disattivati",
|
"UpdateWindowBundledContentNotice": "Gli aggiornamenti inclusi non possono essere eliminati, ma solo disattivati",
|
||||||
"CheatWindowHeading": "Trucchi disponibili per {0} [{1}]",
|
"CheatWindowHeading": "Trucchi disponibili per {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "DLC 管理",
|
"DlcWindowTitle": "DLC 管理",
|
||||||
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
||||||
"UpdateWindowTitle": "アップデート管理",
|
"UpdateWindowTitle": "アップデート管理",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "利用可能なチート {0} [{1}]",
|
"CheatWindowHeading": "利用可能なチート {0} [{1}]",
|
||||||
|
|||||||
@@ -767,8 +767,6 @@
|
|||||||
"XCITrimmerDeselectDisplayed": "표시됨 선택 취소",
|
"XCITrimmerDeselectDisplayed": "표시됨 선택 취소",
|
||||||
"XCITrimmerSortName": "타이틀",
|
"XCITrimmerSortName": "타이틀",
|
||||||
"XCITrimmerSortSaved": "공간 절약s",
|
"XCITrimmerSortSaved": "공간 절약s",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0}개의 새 업데이트가 추가됨",
|
"UpdateWindowUpdateAddedMessage": "{0}개의 새 업데이트가 추가됨",
|
||||||
"UpdateWindowBundledContentNotice": "번들 업데이트는 제거할 수 없으며, 비활성화만 가능합니다.",
|
"UpdateWindowBundledContentNotice": "번들 업데이트는 제거할 수 없으며, 비활성화만 가능합니다.",
|
||||||
"CheatWindowHeading": "{0} [{1}]에 사용 가능한 치트",
|
"CheatWindowHeading": "{0} [{1}]에 사용 가능한 치트",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "Menedżer Zawartości do Pobrania",
|
"DlcWindowTitle": "Menedżer Zawartości do Pobrania",
|
||||||
"ModWindowTitle": "Zarządzaj modami dla {0} ({1})",
|
"ModWindowTitle": "Zarządzaj modami dla {0} ({1})",
|
||||||
"UpdateWindowTitle": "Menedżer Aktualizacji Tytułu",
|
"UpdateWindowTitle": "Menedżer Aktualizacji Tytułu",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "Kody Dostępne dla {0} [{1}]",
|
"CheatWindowHeading": "Kody Dostępne dla {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "Gerenciador de DLC",
|
"DlcWindowTitle": "Gerenciador de DLC",
|
||||||
"ModWindowTitle": "Gerenciar Mods para {0} ({1})",
|
"ModWindowTitle": "Gerenciar Mods para {0} ({1})",
|
||||||
"UpdateWindowTitle": "Gerenciador de atualizações",
|
"UpdateWindowTitle": "Gerenciador de atualizações",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} nova(s) atualização(ões) adicionada(s)",
|
"UpdateWindowUpdateAddedMessage": "{0} nova(s) atualização(ões) adicionada(s)",
|
||||||
"UpdateWindowBundledContentNotice": "Atualizações incorporadas não podem ser removidas, apenas desativadas.",
|
"UpdateWindowBundledContentNotice": "Atualizações incorporadas não podem ser removidas, apenas desativadas.",
|
||||||
"CheatWindowHeading": "Cheats disponíveis para {0} [{1}]",
|
"CheatWindowHeading": "Cheats disponíveis para {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "Управление DLC для {0} ({1})",
|
"DlcWindowTitle": "Управление DLC для {0} ({1})",
|
||||||
"ModWindowTitle": "Управление модами для {0} ({1})",
|
"ModWindowTitle": "Управление модами для {0} ({1})",
|
||||||
"UpdateWindowTitle": "Менеджер обновлений игр",
|
"UpdateWindowTitle": "Менеджер обновлений игр",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "Доступные читы для {0} [{1}]",
|
"CheatWindowHeading": "Доступные читы для {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "จัดการ DLC ที่ดาวน์โหลดได้สำหรับ {0} ({1})",
|
"DlcWindowTitle": "จัดการ DLC ที่ดาวน์โหลดได้สำหรับ {0} ({1})",
|
||||||
"ModWindowTitle": "จัดการม็อดที่ดาวน์โหลดได้สำหรับ {0} ({1})",
|
"ModWindowTitle": "จัดการม็อดที่ดาวน์โหลดได้สำหรับ {0} ({1})",
|
||||||
"UpdateWindowTitle": "จัดการอัปเดตหัวข้อ",
|
"UpdateWindowTitle": "จัดการอัปเดตหัวข้อ",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} อัพเดตที่เพิ่มมาใหม่",
|
"UpdateWindowUpdateAddedMessage": "{0} อัพเดตที่เพิ่มมาใหม่",
|
||||||
"UpdateWindowBundledContentNotice": "แพ็คที่อัพเดตมาไม่สามารถลบทิ้งได้ สามารถปิดใช้งานได้เท่านั้น",
|
"UpdateWindowBundledContentNotice": "แพ็คที่อัพเดตมาไม่สามารถลบทิ้งได้ สามารถปิดใช้งานได้เท่านั้น",
|
||||||
"CheatWindowHeading": "สูตรโกงมีให้สำหรับ {0} [{1}]",
|
"CheatWindowHeading": "สูตรโกงมีให้สำหรับ {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "Oyun DLC'lerini Yönet",
|
"DlcWindowTitle": "Oyun DLC'lerini Yönet",
|
||||||
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
"ModWindowTitle": "Manage Mods for {0} ({1})",
|
||||||
"UpdateWindowTitle": "Oyun Güncellemelerini Yönet",
|
"UpdateWindowTitle": "Oyun Güncellemelerini Yönet",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "{0} için Hile mevcut [{1}]",
|
"CheatWindowHeading": "{0} için Hile mevcut [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "Менеджер вмісту для завантаження",
|
"DlcWindowTitle": "Менеджер вмісту для завантаження",
|
||||||
"ModWindowTitle": "Керувати модами для {0} ({1})",
|
"ModWindowTitle": "Керувати модами для {0} ({1})",
|
||||||
"UpdateWindowTitle": "Менеджер оновлення назв",
|
"UpdateWindowTitle": "Менеджер оновлення назв",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
"UpdateWindowUpdateAddedMessage": "{0} new update(s) added",
|
||||||
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
"UpdateWindowBundledContentNotice": "Bundled updates cannot be removed, only disabled.",
|
||||||
"CheatWindowHeading": "Коди доступні для {0} [{1}]",
|
"CheatWindowHeading": "Коди доступні для {0} [{1}]",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "管理 {0} ({1}) 的 DLC",
|
"DlcWindowTitle": "管理 {0} ({1}) 的 DLC",
|
||||||
"ModWindowTitle": "管理 {0} ({1}) 的 MOD",
|
"ModWindowTitle": "管理 {0} ({1}) 的 MOD",
|
||||||
"UpdateWindowTitle": "游戏更新管理器",
|
"UpdateWindowTitle": "游戏更新管理器",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "{0} 个更新被添加",
|
"UpdateWindowUpdateAddedMessage": "{0} 个更新被添加",
|
||||||
"UpdateWindowBundledContentNotice": "捆绑的更新无法被移除,只可被禁用。",
|
"UpdateWindowBundledContentNotice": "捆绑的更新无法被移除,只可被禁用。",
|
||||||
"CheatWindowHeading": "适用于 {0} [{1}] 的金手指",
|
"CheatWindowHeading": "适用于 {0} [{1}] 的金手指",
|
||||||
|
|||||||
@@ -728,8 +728,6 @@
|
|||||||
"DlcWindowTitle": "管理 {0} 的可下載內容 ({1})",
|
"DlcWindowTitle": "管理 {0} 的可下載內容 ({1})",
|
||||||
"ModWindowTitle": "管理 {0} 的模組 ({1})",
|
"ModWindowTitle": "管理 {0} 的模組 ({1})",
|
||||||
"UpdateWindowTitle": "遊戲更新管理員",
|
"UpdateWindowTitle": "遊戲更新管理員",
|
||||||
"XCITrimmerTrim": "Trim",
|
|
||||||
"XCITrimmerUntrim": "Untrim",
|
|
||||||
"UpdateWindowUpdateAddedMessage": "已加入 {0} 個遊戲更新",
|
"UpdateWindowUpdateAddedMessage": "已加入 {0} 個遊戲更新",
|
||||||
"UpdateWindowBundledContentNotice": "附帶的遊戲更新只能被停用而無法被刪除。",
|
"UpdateWindowBundledContentNotice": "附帶的遊戲更新只能被停用而無法被刪除。",
|
||||||
"CheatWindowHeading": "可用於 {0} [{1}] 的密技",
|
"CheatWindowHeading": "可用於 {0} [{1}] 的密技",
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ 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;
|
||||||
@@ -804,10 +805,15 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
{
|
{
|
||||||
get => FileAssociationHelper.IsTypeAssociationSupported;
|
get => FileAssociationHelper.IsTypeAssociationSupported;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool AreMimeTypesRegistered
|
public bool AreMimeTypesRegistered
|
||||||
{
|
{
|
||||||
get => FileAssociationHelper.AreMimeTypesRegistered;
|
get => _areMimeTypesRegistered;
|
||||||
|
set {
|
||||||
|
_areMimeTypesRegistered = value;
|
||||||
|
|
||||||
|
OnPropertyChanged();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObservableCollectionExtended<ApplicationData> Applications
|
public ObservableCollectionExtended<ApplicationData> Applications
|
||||||
|
|||||||
@@ -165,7 +165,8 @@ namespace Ryujinx.Ava.UI.Views.Main
|
|||||||
|
|
||||||
private async void InstallFileTypes_Click(object sender, RoutedEventArgs e)
|
private async void InstallFileTypes_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (FileAssociationHelper.Install())
|
ViewModel.AreMimeTypesRegistered = 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]);
|
||||||
@@ -173,7 +174,8 @@ namespace Ryujinx.Ava.UI.Views.Main
|
|||||||
|
|
||||||
private async void UninstallFileTypes_Click(object sender, RoutedEventArgs e)
|
private async void UninstallFileTypes_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (FileAssociationHelper.Uninstall())
|
ViewModel.AreMimeTypesRegistered = !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]);
|
||||||
|
|||||||
@@ -383,7 +383,7 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
await Dispatcher.UIThread.InvokeAsync(async () => await UserErrorDialog.ShowUserErrorDialog(UserError.NoKeys));
|
await Dispatcher.UIThread.InvokeAsync(async () => await UserErrorDialog.ShowUserErrorDialog(UserError.NoKeys));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ConfigurationState.Instance.CheckUpdatesOnStart && !CommandLineState.HideAvailableUpdates && Updater.CanUpdate())
|
if (ConfigurationState.Instance.CheckUpdatesOnStart && Updater.CanUpdate())
|
||||||
{
|
{
|
||||||
await this.BeginUpdateAsync()
|
await this.BeginUpdateAsync()
|
||||||
.ContinueWith(
|
.ContinueWith(
|
||||||
|
|||||||
@@ -296,7 +296,7 @@
|
|||||||
Margin="5"
|
Margin="5"
|
||||||
Click="Trim"
|
Click="Trim"
|
||||||
IsEnabled="{Binding CanTrim}">
|
IsEnabled="{Binding CanTrim}">
|
||||||
<TextBlock Text="{ext:Locale XCITrimmerTrim}" />
|
<TextBlock Text="Trim" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
Name="UntrimButton"
|
Name="UntrimButton"
|
||||||
@@ -304,7 +304,7 @@
|
|||||||
Margin="5"
|
Margin="5"
|
||||||
Click="Untrim"
|
Click="Untrim"
|
||||||
IsEnabled="{Binding CanUntrim}">
|
IsEnabled="{Binding CanUntrim}">
|
||||||
<TextBlock Text="{ext:Locale XCITrimmerUntrim}" />
|
<TextBlock Text="Untrim" />
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel
|
<StackPanel
|
||||||
|
|||||||
Reference in New Issue
Block a user