Detect if FUSE is available before allowing to use it for VFS.

This commit is contained in:
2020-08-29 18:23:53 +01:00
parent ddc974a610
commit 8e3b5fee6a
3 changed files with 44 additions and 4 deletions

View File

@@ -101,6 +101,8 @@ namespace RomRepoMgr.ViewModels
set => this.RaiseAndSetIfChanged(ref _selectedRomSet, value);
}
public bool IsVfsAvailable => Fuse.IsAvailable;
internal async void ExecuteSettingsCommand()
{
var dialog = new SettingsDialog();
@@ -288,9 +290,6 @@ namespace RomRepoMgr.ViewModels
async void ExecuteMountCommand()
{
// TODO: Detect if Windows or *NIX
// TODO: Detect if libraries are available
var dlgOpen = new OpenFolderDialog
{
Title = "Select mount point..."