mirror of
https://github.com/4sval/FModel.git
synced 2026-09-30 21:19:33 -05:00
added valorant languages support + fixed backups not created
This commit is contained in:
Submodule CUE4Parse updated: 09a98cdafd...adb0529c17
@@ -59,7 +59,6 @@ namespace FModel.ViewModels
|
|||||||
|
|
||||||
public async Task CreateBackup()
|
public async Task CreateBackup()
|
||||||
{
|
{
|
||||||
if (SelectedBackup == null) return;
|
|
||||||
await _threadWorkerView.Begin(_ =>
|
await _threadWorkerView.Begin(_ =>
|
||||||
{
|
{
|
||||||
var backupFolder = Path.Combine(UserSettings.Default.OutputDirectory, "Backups");
|
var backupFolder = Path.Combine(UserSettings.Default.OutputDirectory, "Backups");
|
||||||
|
|||||||
@@ -20,14 +20,12 @@ namespace FModel.Views
|
|||||||
|
|
||||||
private async void OnDownloadClick(object sender, RoutedEventArgs e)
|
private async void OnDownloadClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (DataContext is not BackupManagerViewModel viewModel) return;
|
await _viewModel.Download();
|
||||||
await viewModel.Download();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void OnCreateBackupClick(object sender, RoutedEventArgs e)
|
private async void OnCreateBackupClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (DataContext is not BackupManagerViewModel viewModel) return;
|
await _viewModel.CreateBackup();
|
||||||
await viewModel.CreateBackup();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user