Merge 2d30adb3ac into 158ea7b4d6
This commit is contained in:
@@ -375,15 +375,11 @@ namespace Ryujinx.Ava.UI.Controls
|
||||
png.SaveTo(fileStream);
|
||||
}
|
||||
|
||||
public void CreateApplicationShortcut_Click(object sender, RoutedEventArgs args)
|
||||
public async void CreateApplicationShortcut_Click(object sender, RoutedEventArgs args)
|
||||
{
|
||||
if (sender is MenuItem { DataContext: MainWindowViewModel { SelectedApplication: not null } viewModel })
|
||||
ShortcutHelper.CreateAppShortcut(
|
||||
viewModel.SelectedApplication.Path,
|
||||
viewModel.SelectedApplication.Name,
|
||||
viewModel.SelectedApplication.IdString,
|
||||
viewModel.SelectedApplication.Icon
|
||||
);
|
||||
await new ArgumentsConfigWindows(viewModel).ShowDialog((Window)viewModel.TopLevel);
|
||||
|
||||
}
|
||||
|
||||
public async void RunApplication_Click(object sender, RoutedEventArgs args)
|
||||
|
||||
Reference in New Issue
Block a user